Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
updated cluster script
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Jul 16, 2018
1 parent c994d59 commit 64255ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 170522_visualizing_one_million_cells/cluster.py
Expand Up @@ -14,10 +14,12 @@ def basic_analysis(filename):
sc.pp.recipe_zheng17(adata)
sc.pp.neighbors(adata)
sc.tl.louvain(adata)
sc.tl.paga(adata)
sc.tl.umap(adata)
sc.tl.rank_genes_groups(adata, 'louvain')
adata.write('./write/result.h5ad')
# plotting
sc.pl.paga(adata)
sc.pl.umap(adata, color='louvain')
sc.pl.rank_genes_groups(adata, save='.pdf')

Expand Down

0 comments on commit 64255ef

Please sign in to comment.