Main Content

featureData

Class: bioma.ExpressionSet
Namespace: bioma

Retrieve or set feature metadata in ExpressionSet object

Syntax

MetaDataObj = featureData(ESObj)
NewESObj = featureData(ESObj, NewMetaDataObj)

Description

MetaDataObj = featureData(ESObj) returns a MetaData object containing the feature metadata from an ExpressionSet object.

NewESObj = featureData(ESObj, NewMetaDataObj) replaces the feature metadata in ESObj, an ExpressionSet object, with NewMetaDataObj, and returns NewESObj, a new ExpressionSet object.

Input Arguments

ESObj

Object of the bioma.ExpressionSet class.

NewMetaDataObj

Object of the bioma.data.MetaData class, containing feature metadata, stored in two dataset arrays. The feature names and variable names in NewMetaDataObj must match the feature names and variable names in the MetaDataObj being replaced in the ExpressionSet object, ESObj.

Output Arguments

MetaDataObj

Object of the bioma.data.MetaData class, containing the feature metadata, stored in two dataset arrays.

NewESObj

Object of the bioma.ExpressionSet class, returned after replacing the MetaData object containing the feature metadata.