Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/martinjzhang/scDRS
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjzhang committed Sep 13, 2022
2 parents 5a3870d + 5e490d6 commit 7f8f8d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Read the [documentation](https://martinjzhang.github.io/scDRS/): [installation](
Check out [instructions](https://github.com/martinjzhang/scDRS/issues/2) for making customized gene sets using MAGMA.

### Reference
[Zhang*, Hou*, et al. Polygenic enrichment distinguishes disease associations of individual cells in single-cell RNA-seq data"](https://www.biorxiv.org/content/10.1101/2021.09.24.461597v2), accepted at Nature Genetics, 2022.
[Zhang*, Hou*, et al. "Polygenic enrichment distinguishes disease associations of individual cells in single-cell RNA-seq data"](https://www.nature.com/articles/s41588-022-01167-z), Nature Genetics, 2022.

### Versions
- [v1.0.2](https://github.com/martinjzhang/scDRS/releases/tag/v1.0.2): bug fixes on `scdrs.util.plot_group_stats`; input checks in `scdrs munge-gs` and `scdrs.util.load_h5ad`.
- [v1.0.1](https://github.com/martinjzhang/scDRS/releases/tag/v1.0.1): stable version used in publication. Identical to `v1.0.0` except documentation.
- [v1.0.0](https://github.com/martinjzhang/scDRS/releases/tag/v1.0.0): stable version used in revision 1. Results are identical to `v0.1` for binary gene sets. Changes with respect to `v0.1`:
- scDRS command-line interface (CLI) instead of `.py` scripts for calling scDRS in bash, including `scdrs munge-gs`, `scdrs compute-score`, and `scdrs perform-downstream`.
Expand Down
2 changes: 1 addition & 1 deletion scdrs/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def plot_group_stats(
(df_fdr_prop is not None)
and (df_assoc_fdr is not None)
and (df_hetero_fdr is not None)
)
), "If dict_df_stats is not provided, df_fdr_prop, df_assoc_fdr, df_hetero_fdr must be all provided."

df_hetero_fdr = df_hetero_fdr.applymap(lambda x: "×" if x < 0.05 else "")
df_hetero_fdr[df_assoc_fdr > 0.05] = ""
Expand Down

0 comments on commit 7f8f8d5

Please sign in to comment.