|
165 | 165 | "cell_type": "markdown", |
166 | 166 | "metadata": {}, |
167 | 167 | "source": [ |
168 | | - "<div class=\"alert alert-block alert-warning\">\n", |
169 | | - "<b>Note!</b>\n", |
| 168 | + "<div class=\"alert alert-info\">\n", |
| 169 | + "Note\n", |
170 | 170 | "Here we rename genes to ENSEMBL ID for correct matching between single cell and spatial data.\n", |
171 | | - "</div>\n", |
172 | | - "\n", |
| 171 | + "</div>" |
| 172 | + ] |
| 173 | + }, |
| 174 | + { |
| 175 | + "cell_type": "markdown", |
| 176 | + "metadata": {}, |
| 177 | + "source": [ |
173 | 178 | "You can still plot gene expression by name using standard scanpy functions as follows: \n", |
174 | 179 | "```python\n", |
175 | 180 | "sc.pl.spatial(color='PTPRC', gene_symbols='SYMBOL', ...)\n", |
|
190 | 195 | "cell_type": "markdown", |
191 | 196 | "metadata": {}, |
192 | 197 | "source": [ |
193 | | - "<div class=\"alert alert-block alert-danger\">\n", |
194 | | - "<b>Note!</b>\n", |
| 198 | + "<div class=\"alert alert-info\">\n", |
| 199 | + "Note\n", |
| 200 | + " \n", |
195 | 201 | "Mitochondia-encoded genes (gene names start with prefix mt- or MT-) are irrelevant for spatial mapping because their expression represents technical artifacts in the single cell and nucleus data rather than biological abundance of mitochondria. Yet these genes compose 15-40% of mRNA in each location. Hence, to avoid mapping artifacts we strongly recommend removing mitochondrial genes.\n", |
196 | 202 | "</div>" |
197 | 203 | ] |
|
255 | 261 | "Warning\n", |
256 | 262 | " \n", |
257 | 263 | "Here we rename genes to ENSEMBL ID for correct matching between single cell and spatial data.\n", |
258 | | - " \n", |
259 | 264 | "</div>" |
260 | 265 | ] |
261 | 266 | }, |
|
276 | 281 | "cell_type": "markdown", |
277 | 282 | "metadata": {}, |
278 | 283 | "source": [ |
279 | | - "<div class=\"alert alert-block alert-warning\">\n", |
280 | | - "<b>Note!</b>\n", |
| 284 | + "<div class=\"alert alert-info\">\n", |
| 285 | + "Note\n", |
| 286 | + " \n", |
281 | 287 | "Before we estimate the reference cell type signature we recommend to perform very permissive genes selection. We prefer this to standard highly-variable-gene selection because our procedure keeps markers of rare genes while removing most of the uninformative genes.\n", |
282 | | - "</div>\n", |
283 | | - "\n", |
| 288 | + "</div>" |
| 289 | + ] |
| 290 | + }, |
| 291 | + { |
| 292 | + "cell_type": "markdown", |
| 293 | + "metadata": {}, |
| 294 | + "source": [ |
284 | 295 | "In this 2D histogram, orange rectangle highlights genes excluded based on the combination of number of cells expressing that gene (Y-axis) and average RNA count for cells where the gene was detected (X-axis).\n", |
285 | 296 | "\n", |
286 | 297 | "In this case, the downloaded dataset was already filtered using this method, hence no density under the orange rectangle (to be changed in the future version of the tutorial)." |
|
0 commit comments