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

Description Usage Arguments Value Examples

View source: R/getFeatureDataFromMatList.R

Description

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

Usage

1
2
3
4
5
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

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

rcellminer documentation built on Nov. 26, 2020, 2:02 a.m.