Skip to content

Commit c4c1f3f

Browse files
committed
shorter comments
1 parent 5a258bb commit c4c1f3f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

spatial/scVIVA_tutorial.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@
322322
"outputs": [],
323323
"source": [
324324
"setup_kwargs = {\n",
325-
" \"sample_key\": \"sample\", # specify column in adata.obs that contains the individual slide ID\n",
326-
" \"labels_key\": \"cell_type\", # specify column in adata.obs that contains the cell type labels\n",
327-
" \"cell_coordinates_key\": \"spatial\", # specify key in adata.obsm that contains the spatial coordinates\n",
328-
" \"expression_embedding_key\": \"X_scANVI\", # specify key in adata.obsm that contains the expression embedding\n",
325+
" \"sample_key\": \"sample\", # column in adata.obs that contains the individual slide ID\n",
326+
" \"labels_key\": \"cell_type\", # column in adata.obs that contains the cell type labels\n",
327+
" \"cell_coordinates_key\": \"spatial\", # spatial coordinates key in adata.obsm\n",
328+
" \"expression_embedding_key\": \"X_scANVI\", # expression embedding key in adata.obsm\n",
329329
"}"
330330
]
331331
},
@@ -410,8 +410,8 @@
410410
"source": [
411411
"scvi.external.SCVIVA.setup_anndata(\n",
412412
" adata,\n",
413-
" layer=\"counts\", # specify layer in adata that contains the raw counts\n",
414-
" batch_key=\"sample\", # specify column in adata.obs that contains the batch covariate to correct for\n",
413+
" layer=\"counts\", # adata layer that contains the raw counts\n",
414+
" batch_key=\"sample\", # column in adata.obs that contains the batch covariate\n",
415415
" **setup_kwargs,\n",
416416
")"
417417
]

0 commit comments

Comments
 (0)