You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scVIVA workflow supports flexible condition specifications for niche-aware differential expression analysis. Conditions can be established through multiple approaches to enable sophisticated spatial comparisons.
153
+
154
+
### Condition Types
155
+
156
+
#### 1. **Cell Type Comparisons** (Simple)
157
+
Compare different cell types without specific conditions:
158
+
159
+
```json
160
+
[
161
+
{
162
+
"name": "tcells_vs_bcells_niche",
163
+
"group1": "T cells",
164
+
"group2": "B cells"
165
+
}
166
+
]
167
+
```
168
+
169
+
#### 2. **Treatment/Disease Conditions**
170
+
Compare the same cell type across different treatments or disease states:
151
171
152
172
```json
153
173
[
154
174
{
155
-
"name": "tumor_vs_normal_tcells",
175
+
"name": "treated_vs_control_tcells",
156
176
"group1": "T cells",
157
177
"group2": "T cells",
178
+
"condition1": "treated",
179
+
"condition2": "control",
180
+
"condition_column": "treatment"
181
+
}
182
+
]
183
+
```
184
+
185
+
#### 3. **Spatial Region Conditions**
186
+
Compare cell types or conditions across different spatial regions:
187
+
188
+
```json
189
+
[
190
+
{
191
+
"name": "core_vs_periphery_macrophages",
192
+
"group1": "Macrophages",
193
+
"group2": "Macrophages",
194
+
"condition1": "tumor_core",
195
+
"condition2": "tumor_periphery",
196
+
"condition_column": "spatial_region"
197
+
}
198
+
]
199
+
```
200
+
201
+
#### 4. **Sample-Based Conditions**
202
+
Map specific samples to conditions when metadata isn't directly encoded:
0 commit comments