arrayExprs: Import Data as ExprsArray

Description Usage Arguments Details Value See Also

Description

A convenience function that builds an ExprsArray object. This function is no longer supported. Please use exprso instead.

Usage

1
arrayExprs(object, colBy, include, colID, begin, ...)

Arguments

object

What to import as an ExprsArray object. See Details.

colBy

A numeric or character index. The column that contains group annotations.

include

A list of character vectors. Specifies which annotations in colBy to include in which groups. Each element of the list specifies a unique group while each element of the character vector specifies which annotations define that group. For binary classification, the first list element defines the negative, or control, group.

colID

A numeric or character index. The column used to name subjects. For data.frame or file import only.

begin

A numeric scalar. The j-th column at which feature data starts. For data.frame or file import only.

...

Additional arguments passed along to read.delim. For file import only.

Details

Importing a data.frame object:

This function expects that the imported data.frame has the following format: rows indicate subject entries while columns indicate measured variables. The first several columns should contain annotation information (e.g., age, sex, diagnosis). The remaining columns should contain feature data (e.g., expression values). The argument begin defines the j-th column at which the feature data starts. This function automatically removes any features with NA values. Take care to remove any factor columns before importing.

Importing an ExpressionSet object:

The package Biobase maintains a popular class object called ExpressionSet that often gets used to store expression data. This function converts this eSet object into an ExprsArray object. This function automatically removes any features with NA values.

Importing a file:

arrayExprs can also build an ExprsArray object from a tab-delimited data file, passing along the file and ... argument(s) to read.delim. All rules for data.frame import also apply here. By default, arrayExprs forces stringsAsFactors = FASE.

Value

An ExprsArray object.

See Also

ExprsArray-class, GSE2eSet


exprso documentation built on May 1, 2019, 7:11 p.m.