| calcDatabaseSetStatisticsAll {sesame} | R Documentation |
calcDatabaseSetStatisticsAll builds dataset for a given betas matrix composed of engineered features from the given database sets
calcDatabaseSetStatisticsAll(betas, databaseSets)
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 |
Vector for a given sample columns are features across different databaseSets
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)