Skip to main content

manipulate datasets encoded as 2-D matrices with annotation (first) row and (first) column

Project description

Class for importing and querying expression dataasets organized as a column- and row-annotated matrix.

Expression datasets contain the numeric results of one or more samples derived from microarray assays. Common to each of the assays is the specific platform (microarray). The dataset can be regarded as a table with rows and columns. Each column represents a single assay, and each row contains the assay results for a specific probe on the assay platform. Thus, the values in any given row are those obtained from the same probe location on the platform. These are referred to as expression profiles.

A dataset can be regarded as a table, such as this one:

probe_id

HSC 1

HSC 2

NK 1

NK 2

45283

10.14

9.31

8.9

8.78

45284

12.52

12.63

12.55

11.96

45285

6.78

6.91

7.83

7.86

45286

5.58

5.06

6.69

6.64

45287

7.85

8.13

8.47

8.56

45288

8.12

7.17

8.71

8.08

45289

6.82

6.15

5.87

5.32

45290

10.55

10.39

10.7

9.93

Expression datasets, with rare exception, are stored in text (i.e. flat) files that have the following format:

  • two or more rows of data, delimited by ASCII newline (\x0a) characters. (Strictly speaking, there needen’t be any data at all, but what’s the point of that?)

  • each line or row consists of two or more columns of data, delimited by ASCII TAB (\x09) characters.

  • the first column contains the key or probe ID, assumed to be alpha-numeric, or for the probe.

  • the first row consists of labels identifying the probe ID and sample columns. This, too, is assumed to be alpha-numeric.

  • the second through last rows contain expression values and, aside from the first column, which contains the probe ID, are assumed to be floating point numbers. In microarray parlance, each row is typically referred to as an expression profile.

Some datasets may differ from this format. For instance, there may be no (first) row of labels, or the data may be of some format other than floating point. Provision is made for handling these arguably special cases. However, the default settings for instantiating Matricks classes makes the foregoing assumptions about the contents of raw source data. It is further assumed that the source dataset is encoded in ASCII strings, requiring the conversion of all numeric data to float type objects.

Matricks selection operations generally return Matricks objects. These can be iterated, row-wise, much like lists or tuples, to access individual expression profiles, the contents of which can be retrieved using list / tuple semantics.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

matricks-0.3.20-py2.7.egg (135.5 kB view details)

Uploaded Source

matricks-0.3.20-py2.6.egg (136.6 kB view details)

Uploaded Source

File details

Details for the file matricks-0.3.20-py2.7.egg.

File metadata

File hashes

Hashes for matricks-0.3.20-py2.7.egg
Algorithm Hash digest
SHA256 7cbbaf7015bdc12f558eb82aa0c8c3d19aa0e544942df0710baeb93ff2dc6962
MD5 a763a5f0de10c3d81bfe32ec859b6c82
BLAKE2b-256 c81e465a943a8a69850e7680228e3f84ef7c0a24c9c0bf740b997a429f893700

See more details on using hashes here.

File details

Details for the file matricks-0.3.20-py2.6.egg.

File metadata

File hashes

Hashes for matricks-0.3.20-py2.6.egg
Algorithm Hash digest
SHA256 56c23ab02978850aa9d44d1f69eff0cd86f62d348910e6098c1086c425c7105f
MD5 e852098e25f15803212a02f14a8b8231
BLAKE2b-256 7d80b9ae327fa71fa614356eefc2634e8d07560e6419d161a81d5bb4d2ab85a0

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