calcDatabaseSetStatisticsAll {sesame}R Documentation

calcDatabaseSetStatisticsAll builds dataset for a given betas matrix composed of engineered features from the given database sets

Description

calcDatabaseSetStatisticsAll builds dataset for a given betas matrix composed of engineered features from the given database sets

Usage

calcDatabaseSetStatisticsAll(betas, databaseSets)

Arguments

betas

matrix of beta values where probes are on the rows and samples are on the columns

databaseSets

List of vectors corresponding to probe locations for which the features will be extracted

Value

Vector for a given sample columns are features across different databaseSets

Examples

library(SummarizedExperiment)
se = sesameDataGet('MM285.20Kx467.SE')
samplesheet = colData(se)[, c("Mouse_Age_Months", "Mouse_Age_Days", "Sex", 
"Strain_Corrected","Tissue_Corrected", 'Genotype')]
betas = assay(se)
databaseSetNames = c('KYCG.MM285.seqContextN.20210630', 
'KYCG.MM285.probeType.20210630')
databaseSets = do.call(c, lapply(databaseSetNames, sesameDataGet))
calcDatabaseSetStatisticsAll(betas, databaseSets=databaseSets)


[Package sesame version 1.12.5 Index]