Skip to content

Commit 5a3870d

Browse files
committed
v1.0.2
1 parent 9610e2a commit 5a3870d

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

docs/faq.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ Computational complexity?
5454
scDRS scales linearly with the number of cells and number of control gene sets for both computation and memory use. It takes around 3 hours and 60GB for a single-cell data set with a million cells). Please see details in Methods in Zhang & Hou et al. Nat Genet 2022.
5555

5656

57+
Which GWAS and scRNA-seq data should I use?
58+
======================================================
59+
60+
To ensure a reasonable number of scDRS discoveries, we recommend using GWAS data with a heritability z-score greater than 5 or a sample size greater than 100K. We also recommend using scRNA-seq data with a diverse set of cells potentially relevant to disease, although a smaller number of cells should not affect the scDRS power.
61+
62+
63+
scDRS detected very few significant cells (FDR<0.2)?
64+
======================================================
65+
66+
scDRS may be underpowered for certain GWAS/scRNA-seq data sets. In these cases, the ensuing scDRS group analyses may still have sufficient power, because scDRS group analyses aggregate results of individual cells and hence usually have higher power than the scDRS individual cell-level analyses. To assess if scDRS has sufficient power, we suggest visually inspecting the scDRS normalized disease score on the UMAP plot. If some parts of the UMAP plot are enriched with clearly higher scDRS disease scores, then scDRS should have detected interesting biological signals in your data.
67+
68+
scDRS may be underpowered for certain GWAS/scRNA-seq data sets. In these cases, the ensuing scDRS group analyses may still have sufficient power, because scDRS group analyses aggregate results of individual cells and hence usually have higher power than the scDRS individual cell-level analyses. To assess if scDRS has sufficient power, we suggest performing [`scdrs perform-downstream --group-analysis`](https://martinjzhang.github.io/scDRS/reference_cli.html#perform-downstream) to assess significance at an aggregated level. In addition, it is helpful to visually inspect the scDRS normalized disease score on the UMAP plot. If some parts of the UMAP plot are enriched with clearly higher scDRS disease scores, then scDRS should have detected interesting biological signals in your data.
69+
70+
5771
Use scDRS for other types of single-cell data?
5872
====================================================
5973

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ scDRS
33

44
scDRS (single-cell disease-relevance score) is a method for associating individual cells in scRNA-seq data with disease GWASs, built on top of `AnnData <https://anndata.readthedocs.io/en/latest/>`_ and `Scanpy <https://scanpy.readthedocs.io/en/stable/>`_.
55

6-
Check out our manuscript `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>`_.
6+
Check out our manuscript `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>`_.
77

88
Explore results for 74 diseases/traits and the TMS FACS data on `cellxgene <https://scdrs-tms-facs.herokuapp.com/>`_.
99

@@ -15,7 +15,7 @@ Installation
1515
1616
git clone https://github.com/martinjzhang/scDRS.git
1717
cd scDRS
18-
git checkout -b pub v1.0.1
18+
git checkout -b v102 v1.0.2
1919
pip install -e .
2020
2121
Quick test:
@@ -28,7 +28,7 @@ Install via `PyPI <https://pypi.org/project/scdrs/1.0.1/#description>`_
2828

2929
.. code-block:: bash
3030
31-
pip install scdrs==1.0.1
31+
pip install scdrs==1.0.2
3232
3333
Quick test for PyPI installation: open Python (>=3.5) and run the code in the Usage section below.
3434

docs/versions.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
Versions
22
========
33

4+
v1.0.2: publication (091222)
5+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6+
7+
.. code-block:: bash
8+
9+
git clone https://github.com/martinjzhang/scDRS.git
10+
cd scDRS
11+
git checkout -b v102 v1.0.2
12+
pip install -e .
13+
14+
Quick test:
15+
16+
.. code-block:: bash
17+
18+
python -m pytest tests/test_CLI.py -p no:warnings
19+
420
v1.0.1: publication (072222)
521
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
622

scdrs/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# 1) we don't load dependencies by storing it in __init__.py
33
# 2) we can import it in setup.py for the same reason
44
# 3) we can import it into your module module
5-
__version__ = '1.0.1'
5+
__version__ = '1.0.2'
66
__version_info__ = tuple([ int(num) for num in __version__.split('.')])

0 commit comments

Comments
 (0)