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

View source: R/getFeatureDataFromMatList.R

getFeatureDataFromMatListR 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)


cannin/rcellminer documentation built on Aug. 11, 2024, 8:45 a.m.