Appearance
Tutorial: Analysis Workflow
Core Feature
This tutorial covers features available in all MATISSE Explorer deployments.
This tutorial demonstrates how to use advanced subsetting and analysis features to investigate specific biological questions in your spatial transcriptomics data.
Scenario
You want to:
- Find cells that meet multiple criteria
- Use signatures to analyze pathway activity
- Combine spatial and transcriptional subsets
- Save complex subset configurations for reuse
Prerequisites
- Completed the Basic Exploration Workflow
- Familiarity with Subset
Step 1: Define Your Question
Example Question
"Find T cells in the tumor region that have high immune checkpoint expression."
This requires:
- Cell type subset (T cells)
- Spatial subset (tumor region)
- Expression subset (checkpoint genes)
Step 2: Create a Signature
First, create a signature for immune checkpoint genes.
Open Signatures
- In Explorer sidebar, click Signatures tab
- Click Create Signature
Define the Gene Set
- Name: "Immune Checkpoints"
- Description: "Key immune checkpoint molecules"
- Variables:
PDCD1 CTLA4 LAG3 HAVCR2 TIGIT - Click Create
Verify Matches
- View the created signature
- Check how many genes matched your data
- Note any unmatched genes
Step 3: Define Tumor Region
Use lasso selection to define the tumor region.
Switch to Spatial View
- Ensure you're in Spatial projection
- Color by a relevant marker to identify tumor region
- Navigate to see the full tissue
Draw Tumor Region
- Click Selection mode
- Draw a lasso around the tumor region
- Note the selected cell count
Save to Subset
- Click Items dropdown
- Select Add selection to subset
- The lasso condition is saved
Step 4: Build the Complex Subset
Now combine all criteria in the Subset.
Open Subset
- Open the Subset Panel
- You should see your lasso condition already added
Add Cell Type Condition
- Click Add Condition in the same group
- Select Column type
- Choose cell type column
- Select "T cell" category
- Ensure operator is AND
Add Signature Condition
- Click Add Condition
- Select Signature type
- Choose "Immune Checkpoints"
- Set combination method to Max
- Set comparison: > 1.0
Review the Subset
Your subset should now read:
(Tumor Region Lasso) AND (cell_type = T cell) AND (Immune Checkpoints Max > 1.0)Step 5: Apply and Analyze
Apply the Subset
- Click Apply
- View the subset population
- Note the final cell count
Explore the Results
- Color by individual checkpoint genes
- Compare expression levels
- Examine spatial distribution within the tumor
View in UMAP
- Switch to UMAP projection
- See where these cells fall in transcriptional space
- Check if they cluster together
Step 6: Refine the Analysis
Adjust Thresholds
If results are too few or too many:
- Edit the signature condition
- Adjust the threshold (e.g., > 0.5 or > 2.0)
- Re-apply and check results
Add Additional Conditions
To further refine:
- Add more expression criteria
- Adjust spatial region
- Change combination method
Step 7: Save Your Subset
Save as Saved Subset
- Click Save
- Name: "Tumor T cells - High Checkpoint"
- Press Enter to confirm
Verify Saved Subset
- Clear the subset
- Load the saved subset
- Confirm subset is restored
Step 8: Export Results
Export Subset Data
- With subset active, export feature data
- Download cell IDs and features
- Use in downstream analysis
Document Analysis
Record your analysis:
- Subset configuration
- Signature contents
- Result counts
- Screenshots
Advanced Techniques
Using OR Logic
Find cells matching any of several criteria:
Group 1 (OR):
├── High PDCD1 (> 2.0)
├── High CTLA4 (> 2.0)
└── High LAG3 (> 2.0)Combining Regions
Compare cells across multiple regions:
Subset (OR):
├── Group 1: Tumor Region AND T cell
└── Group 2: Stroma Region AND T cellNested Logic
Complex queries with groups:
Subset (AND):
├── Group 1 (OR):
│ ├── T cell
│ └── NK cell
└── Group 2 (AND):
├── Tumor Region
└── High CheckpointSummary
In this tutorial, you learned to:
| Step | Skill |
|---|---|
| 1-2 | Create signatures for gene groups |
| 3 | Define spatial regions with lasso |
| 4 | Build multi-condition subsets |
| 5-6 | Apply, analyze, and refine results |
| 7-8 | Save presets and export data |
Next Steps
- Group Comparison Workflow - Compare populations
- Signatures - More on gene groups
- Saved Subsets - Managing saved subsets