Learn R Programming

rcellminer (version 1.4.2)

getFeatureDataFromMatList: Extract from a list of matrices the data associated with a set of features.

Description

Extract from a list of matrices the data associated with a set of features.

Usage

getFeatureDataFromMatList(featureSet, dataMatList,
  excludeMissingFeatures = TRUE)

Arguments

featureSet
a character vector of feature names.
dataMatList
a list of matrices with feature data organized along the rows, and feature names accessible via rownames(dataMatList).
excludeMissingFeatures
a logical value indicating whether features whose data cannot be found in any matrices in dataMatList should be excluded in the output. (default=TRUE).

Value

  • a single matrix containing data for all features in featureSet.

concept

rcellminer

Examples

Run this code
featureSet <- c("expSLFN11", "mutSLX4")
molDataMats <- getMolDataMatrices()
featureData <- getFeatureDataFromMatList(featureSet, molDataMats)

Run the code above in your browser using DataLab