Skip to content

Commit

Permalink
Merge pull request #36 from DBinary/master
Browse files Browse the repository at this point in the history
update the tutorials of tosica
  • Loading branch information
Starlitnightly authored Nov 30, 2023
2 parents 0a3e92e + 686606d commit 934f89c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion omicverse_guide/docs/Tutorials-single/t_tosica.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"\n",
"Code: https://github.com/JackieHanLab/TOSICA\n",
"\n",
"Colab_Reproducibility:https://colab.research.google.com/drive/1BjPEG-kLAgicP8iQvtVtpzzbIOmk1X23?usp=sharing\n",
"\n",
"![tosica](https://raw.githubusercontent.com/JackieHanLab/TOSICA/main/figure.png)\n"
]
},
Expand Down Expand Up @@ -489,7 +491,7 @@
],
"source": [
"ov.pp.scale(query_adata)\n",
"query_adata=ov.pp.pca(query_adata,layer='scaled',n_pcs=50)\n",
"ov.pp.pca(query_adata,layer='scaled',n_pcs=50)\n",
"sc.pp.neighbors(query_adata, n_neighbors=15, n_pcs=50,\n",
" use_rep='scaled|original|X_pca')\n",
"query_adata.obsm[\"X_mde\"] = ov.utils.mde(query_adata.obsm[\"scaled|original|X_pca\"])\n",
Expand Down

0 comments on commit 934f89c

Please sign in to comment.