|
11 | 11 | method_summary=( |
12 | 12 | "Cell2location is a decomposition method based on Negative Binomial regression" |
13 | 13 | " that is able to account for batch effects in estimating the single-cell gene" |
14 | | - " expression signature used for the spatial decomposition step." |
| 14 | + " expression signature used for the spatial decomposition step. Note that since" |
| 15 | + " batch information is unavailable in this task, here we use either a" |
| 16 | + " hard-coded reference, or a negative-binomial learned reference without batch" |
| 17 | + " labels. The parameter alpha refers to the detection efficiency prior." |
15 | 18 | ), |
16 | 19 | paper_name="Cell2location maps fine-grained cell types in spatial transcriptomics", |
17 | 20 | paper_reference="kleshchevnikov2022cell2location", |
@@ -159,9 +162,7 @@ def _cell2location( |
159 | 162 | return adata |
160 | 163 |
|
161 | 164 |
|
162 | | -@_cell2location_method( |
163 | | - method_name="Cell2location (detection_alpha=20, reference hard-coded)" |
164 | | -) |
| 165 | +@_cell2location_method(method_name="Cell2location (alpha=20, reference hard-coded)") |
165 | 166 | def cell2location_detection_alpha_20( |
166 | 167 | adata, |
167 | 168 | detection_alpha=20, |
@@ -190,9 +191,7 @@ def cell2location_detection_alpha_20( |
190 | 191 | ) |
191 | 192 |
|
192 | 193 |
|
193 | | -@_cell2location_method( |
194 | | - method_name="Cell2location (detection_alpha=1, reference hard-coded)" |
195 | | -) |
| 194 | +@_cell2location_method(method_name="Cell2location (alpha=1, reference hard-coded)") |
196 | 195 | def cell2location_detection_alpha_1( |
197 | 196 | adata, |
198 | 197 | detection_alpha=1, |
@@ -221,9 +220,7 @@ def cell2location_detection_alpha_1( |
221 | 220 | ) |
222 | 221 |
|
223 | 222 |
|
224 | | -@_cell2location_method( |
225 | | - method_name="Cell2location (detection_alpha=20, reference NB without batch info)" |
226 | | -) |
| 223 | +@_cell2location_method(method_name="Cell2location (alpha=20, NB reference)") |
227 | 224 | def cell2location_detection_alpha_20_nb( |
228 | 225 | adata, |
229 | 226 | detection_alpha=20, |
@@ -252,9 +249,7 @@ def cell2location_detection_alpha_20_nb( |
252 | 249 | ) |
253 | 250 |
|
254 | 251 |
|
255 | | -@_cell2location_method( |
256 | | - method_name="Cell2location (detection_alpha=200, reference hard-coded)" |
257 | | -) |
| 252 | +@_cell2location_method(method_name="Cell2location (alpha=200, reference hard-coded)") |
258 | 253 | def cell2location_detection_alpha_200( |
259 | 254 | adata, |
260 | 255 | detection_alpha=200, |
@@ -283,9 +278,7 @@ def cell2location_detection_alpha_200( |
283 | 278 | ) |
284 | 279 |
|
285 | 280 |
|
286 | | -@_cell2location_method( |
287 | | - method_name="Cell2location, amortised (detection_alpha=20, reference hard-coded)" |
288 | | -) |
| 281 | +@_cell2location_method(method_name="Cell2location (alpha=20, amortised, hard-coded)") |
289 | 282 | def cell2location_amortised_detection_alpha_20( |
290 | 283 | adata, |
291 | 284 | detection_alpha=20, |
|
0 commit comments