LN's $t$-test
Differential expression testing for single-cell transcriptomics with reduced false discoveries.
Installation
pip install ln-ttest
Usage
from lntest import rank_genes_groups_ln
rank_genes_groups_ln(adata, groupby="leiden", layer="norm_counts") # normalized, not log-transformed
adata.uns["rank_genes_groups"]["logfoldchanges"]
adata.uns["rank_genes_groups"]["lfc_se"]
Example
The notebook PBMC3k showcases LN's $t$-test finding much less DE genes than scanpy's $t$-test on the 3k PBMCS data set from 10x Genomics.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ln_ttest-0.1.1.tar.gz.
File metadata
- Download URL: ln_ttest-0.1.1.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f615cd56c3b230a7adf5de00b4f8c7b06f5f2676f355f8885cdf667f8e32e5e4
|
|
| MD5 |
884e29621f3a74aa688af147ea8aec3f
|
|
| BLAKE2b-256 |
3e7ab2f9e4662ea778a5b1f327bff0641a3c0907f956ca3c70ef86e51a44d4a3
|
Provenance
The following attestation bundles were made for ln_ttest-0.1.1.tar.gz:
Publisher:
release.yml on okviman/lntest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ln_ttest-0.1.1.tar.gz -
Subject digest:
f615cd56c3b230a7adf5de00b4f8c7b06f5f2676f355f8885cdf667f8e32e5e4 - Sigstore transparency entry: 2841421121
- Sigstore integration time:
-
Permalink:
okviman/lntest@41ed2f6705979ad64aabd22cc1520adf75de93c2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/okviman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@41ed2f6705979ad64aabd22cc1520adf75de93c2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ln_ttest-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ln_ttest-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5af69fae36fb5850e2c9ddbb7fafcc97db86c29bc36361bcca53315c79e266f
|
|
| MD5 |
ef10705e69adfd8bfaef81cd3820a22b
|
|
| BLAKE2b-256 |
3582252cba4a108e1f12daa7cf26034c1b0223471477f25525eadec5d738e302
|
Provenance
The following attestation bundles were made for ln_ttest-0.1.1-py3-none-any.whl:
Publisher:
release.yml on okviman/lntest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ln_ttest-0.1.1-py3-none-any.whl -
Subject digest:
e5af69fae36fb5850e2c9ddbb7fafcc97db86c29bc36361bcca53315c79e266f - Sigstore transparency entry: 2841421196
- Sigstore integration time:
-
Permalink:
okviman/lntest@41ed2f6705979ad64aabd22cc1520adf75de93c2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/okviman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@41ed2f6705979ad64aabd22cc1520adf75de93c2 -
Trigger Event:
push
-
Statement type: