Skip to main content

pyAffy

pyAffy is a Python/Cython implementation of the RMA algorithm for processing raw data from Affymetrix expression microarrays. For a detailed discussion of this implementation, see the pyAffy PeerJ preprint. For a list of changes, see the changelog.

Installation

Option 1: Using pip

$ pip install pyaffy

Option 2: Cloning the GitHub repository

$ git clone https://github.com/flo-compbio/pyaffy.git
$ cd pyaffy
$ pip install -e .

Usage

The rma function expects two parameters: A custom CDF file (from the Brainarray web site) and an ordered dictionary (collections.OrderedDict) with sample names as keys and corresponding CEL files as values.

The rma function returns a list of genes, a list of samples, and an expression matrix (of type numpy.ndarray), in that order.

from pyaffy import rma
# for documentation of the rma function, try:
# help(rma)
genes, samples, X = rma(cdf_file, sample_cel_files)

A small example with real code is available in the pyaffy-demos repository.

Metadata

Release files for pyaffy 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyaffy 0.3.2
File Size Uploaded Provenance Actions
pyaffy-0.3.2.tar.gz 26.2 kB Without provenance Details for pyaffy-0.3.2.tar.gz

Release files / pyaffy-0.3.2.tar.gz

Download URL pyaffy-0.3.2.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a2d21d16e88260b9638340d1950ecae65d7aa57d5f7504d6092c29f0415facd
BLAKE2b-256 checksum
How to use checksums
b8a7a12e73fa39aaf3c5ffdb02b9c765a9c488ff6892623b3d5eaf6135cb42e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyaffy 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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