Skip to main content

Tiny dual-reporter intrinsic/extrinsic noise decomposition

Project description

noise_decomp

A super small Python package that implements the dual-reporter decomposition of intrinsic and extrinsic noise from paired single-cell measurements.

Install (editable)

pip install -e .

Usage

from noise_decomp import noise_decomp

res = noise_decomp(r, g)
print(res)

CLI

After installing (editable) the package you get a small CLI noise-decomp:

Compute from comma-separated values:

noise-decomp --r 1,2,3 --g 1.1,2.1,3.1

Compute from files (CSV or whitespace separated):

noise-decomp --rfile path/to/r.csv --gfile path/to/g.csv

Use --no-normalize to disable mean normalization and --ddof to set the delta degrees of freedom for variance/covariance.


Examples

Run the tiny demo script:

python examples/demo.py

References

  • Elowitz MB, Levine AJ, Siggia ED, Swain PS. Stochastic Gene Expression in a Single Cell. Science (2002).

  • Raser JM, O’Shea EK. Control of Stochasticity in Eukaryotic Gene Expression. Science (2004).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noise_decomp-0.1.3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

noise_decomp-0.1.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file noise_decomp-0.1.3.tar.gz.

File metadata

  • Download URL: noise_decomp-0.1.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for noise_decomp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2d2be03bc1e82ff369a2243d885f7d9feaca9b880489f009c7b03bae7bc96e9f
MD5 062c70776b899506e59ad60ac762a63e
BLAKE2b-256 9a0ca521eff15d76a884693e709474a4a9af1154e63e949f7c7c06b194cf64b0

See more details on using hashes here.

File details

Details for the file noise_decomp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: noise_decomp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for noise_decomp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae3702b17324183a86ca87c5f0fb1fcb93d5162b655c9601eea2211368f48bf3
MD5 d4656d07a26d0a01bf0f11e5d563e6d5
BLAKE2b-256 a707cee7020d5b404f70a1e1fc82c29995f8a3abc3d9a06848e408c804e14f8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page