getFeatureDataFromMatList {rcellminer}R Documentation

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.

Examples

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


[Package rcellminer version 2.15.1 Index]