Skip to content

Commit

Permalink
Increment version number to 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghao-njmu committed Oct 23, 2023
1 parent edf168b commit af653ad
Show file tree
Hide file tree
Showing 8 changed files with 251 additions and 198 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: SCP
Type: Package
Title: Single Cell Pipeline
Version: 0.5.2
Version: 0.5.3
Author: Hao Zhang
Maintainer: Hao Zhang <[email protected]>
Description: An end-to-end Single-Cell Pipeline designed to facilitate comprehensive analysis and exploration of single-cell data.
Expand Down
272 changes: 142 additions & 130 deletions R/SCP-analysis.R

Large diffs are not rendered by default.

149 changes: 92 additions & 57 deletions R/SCP-plot.R

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions inst/python/SCP_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,18 @@ def SCVELO(adata=None, h5ad=None, group_by=None, palette=None,
if m != "dynamical":
scv.tl.rank_velocity_genes(adata, vkey=vkey, groupby=group_by)
adata.var[vkey+"_score"]=adata.var["spearmans_score"]
df = scv.get_df(adata.uns["rank_velocity_genes"]["names"])
adata.uns["rank_"+vkey+"_genes"]=df
df1 = scv.get_df(adata.uns["rank_velocity_genes"]["names"])
adata.uns["rank_"+vkey+"_genenames"]=df1
df2 = scv.get_df(adata.uns["rank_velocity_genes"]["scores"])
adata.uns["rank_"+vkey+"_genescores"]=df2
del adata.uns["rank_velocity_genes"]
else:
scv.tl.rank_dynamical_genes(adata, groupby=group_by)
df = scv.get_df(adata.uns['rank_dynamical_genes']['names'])
adata.uns["rank_"+vkey+"_genes"]=df

df1 = scv.get_df(adata.uns['rank_dynamical_genes']['names'])
adata.uns["rank_"+vkey+"_genenames"]=df1
df2 = scv.get_df(adata.uns['rank_dynamical_genes']['scores'])
adata.uns["rank_"+vkey+"_genescores"]=df2
del adata.uns["rank_dynamical_genes"]

for cluster in df.columns:
#df[0:1].values.ravel()[:12] ### by row
Expand Down
2 changes: 1 addition & 1 deletion man/CellDensityPlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/FeatureStatPlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/PrepareDB.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/RunGSEA.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af653ad

Please sign in to comment.