Skip to main content

pyAffy: Processing raw data from Affymetrix expression microarrays in Python.

Project description

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.

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

pyaffy-0.3.2.tar.gz (26.2 kB view details)

Uploaded Source

File details

Details for the file pyaffy-0.3.2.tar.gz.

File metadata

  • Download URL: pyaffy-0.3.2.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyaffy-0.3.2.tar.gz
Algorithm Hash digest
SHA256 6a2d21d16e88260b9638340d1950ecae65d7aa57d5f7504d6092c29f0415facd
MD5 1bd55d931ea0c62df9d3e3b0a172c4d0
BLAKE2b-256 b8a7a12e73fa39aaf3c5ffdb02b9c765a9c488ff6892623b3d5eaf6135cb42e1

See more details on using hashes here.

Supported by

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