dataList2List: Convert MultiAssayExperiment object to list and data.frame

Description Usage Arguments Details Value Examples

View source: R/dataList2list.R

Description

Convert MultiAssayExperiment object to list and data.frame

Usage

1
dataList2List(dat, groupList)

Arguments

dat

(MultiAssayExperiment) Patient data and metadata

groupList

(list) variable groupings used for feature construction. See groupList arg in buildPredictor().

Details

Used by internal routines in netDx

Value

(list) Keys are: 1) assays: list of matrices, each corresponding to data from a particular layer 2) pheno: (data.frame) sample metadata

Examples

1
2
3
4
5
6
7
data(xpr,pheno)
require(MultiAssayExperiment)
objlist <- list("RNA"=SummarizedExperiment(xpr))
mae <- MultiAssayExperiment(objlist,pheno)
groupList <- list(RNA=rownames(xpr))
dl <- dataList2List(mae,groupList)
summary(dl) 

BaderLab/netDx documentation built on Sept. 26, 2021, 9:13 a.m.