Skip to main content

LN's $t$-test

Differential expression testing on an asymptotically unbiased log-fold-change estimator.

Installation

pip install ln-ttest

From a checkout:

pip install -e .

Usage

from lntest import rank_genes_groups_ln

rank_genes_groups_ln(adata, groupby="leiden", layer="norm_counts")
adata.uns["rank_genes_groups"]["logfoldchanges"]
adata.uns["rank_genes_groups"]["lfc_se"]      # SE of the LFC; lfc ± 1.96·se is the interval

Takes normalised, not log-transformed counts.

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.0.tar.gz (21.9 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.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file ln_ttest-0.1.0.tar.gz.

File metadata

  • Download URL: ln_ttest-0.1.0.tar.gz
  • Upload date:
  • Size: 21.9 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.0.tar.gz
Algorithm Hash digest
SHA256 98868f2ad3a859837b2d08eb904a8eb55dd6e646262cc227cc299bf85938407a
MD5 71b530aabb8bb57fbb02867e30f5d759
BLAKE2b-256 976ab23f8889bb3139876018342e5a52641fe06f987744e1ed4375475a162845

See more details on using hashes here.

Provenance

The following attestation bundles were made for ln_ttest-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: ln_ttest-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 505a69a6919f470fa95bf637de3c962ef89492c30ef25272ee211cdfdccb2e8b
MD5 ed3e00f44bce3eef9c89d0a17e8d201b
BLAKE2b-256 551b178933a93e0b741d00d99314a3ea7dab61f11255e9be8ed3678e3bd392f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ln_ttest-0.1.0-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

0.1.1

2 files

This release

0.1.0 This release

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