Skip to main content

LN's $t$-test

CI PyPI

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

ln_ttest-0.1.1.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ln_ttest-0.1.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

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

Hashes for ln_ttest-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f615cd56c3b230a7adf5de00b4f8c7b06f5f2676f355f8885cdf667f8e32e5e4
MD5 884e29621f3a74aa688af147ea8aec3f
BLAKE2b-256 3e7ab2f9e4662ea778a5b1f327bff0641a3c0907f956ca3c70ef86e51a44d4a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ln_ttest-0.1.1.tar.gz:

Publisher: release.yml on okviman/lntest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ln_ttest-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5af69fae36fb5850e2c9ddbb7fafcc97db86c29bc36361bcca53315c79e266f
MD5 ef10705e69adfd8bfaef81cd3820a22b
BLAKE2b-256 3582252cba4a108e1f12daa7cf26034c1b0223471477f25525eadec5d738e302

See more details on using hashes here.

Provenance

The following attestation bundles were made for ln_ttest-0.1.1-py3-none-any.whl:

Publisher: release.yml on okviman/lntest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page