Skip to content

Commit 58fbc85

Browse files
committed
update README
1 parent 09cb84f commit 58fbc85

1 file changed

Lines changed: 36 additions & 2 deletions

File tree

README.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,40 @@
11
# scTransformPy
22
A Python implementation of of the scTransform method
33

4-
Based on https://github.com/ChristophH/sctransform originally by Christoph Hafemeister
4+
Based on the R package [sctransform](https://github.com/ChristophH/sctransform) originally by Christoph Hafemeister
55

6-
[Hafemeister, C. & Satija, R. Normalization and variance stabilization of single-cell RNA-seq data using regularized negative binomial regression. bioRxiv 576827 (2019). doi:10.1101/576827](https://www.biorxiv.org/content/10.1101/576827v1)
6+
- [Hafemeister, C. & Satija, R. Normalization and variance stabilization of single-cell RNA-seq data using regularized negative binomial regression. bioRxiv 576827 (2019). doi:10.1101/576827](https://www.biorxiv.org/content/10.1101/576827v1)
7+
8+
Currently this supports basic functionality - variance stabilizing transform of UMI count data based on a general linear model and kernel-regularized parameters.
9+
10+
## Installation
11+
12+
```
13+
pip install git+https://github.com/deto/scTransformPy.git
14+
```
15+
16+
## Usage
17+
18+
```
19+
import scTransform
20+
21+
residuals = scTransform.vst(
22+
umi, latent_var=['log_umi'], cell_attr
23+
)
24+
```
25+
26+
## Feature comparison with original R package
27+
28+
Supported:
29+
30+
- cell\_attr
31+
- latent\_var
32+
33+
Unsupported:
34+
35+
- batch variables (batch\_var)
36+
- non-regularized latent variables (latent\_var\_nonreg)
37+
- gene sub-sampling (n\_genes)
38+
- cell sub-sampling (n\_cells)
39+
- alternate GLM fitting procedures (only the default, method="poisson" supported)
40+
- sparse input umi matrix

0 commit comments

Comments
 (0)