dbStats | R Documentation |
dbStats builds dataset for a given betas matrix composed of engineered features from the given database sets
dbStats(
betas,
databases,
fun = mean,
na.rm = TRUE,
n_min = NULL,
f_min = 0.1,
long = FALSE
)
betas |
matrix of beta values where probes are on the rows and samples are on the columns |
databases |
List of vectors corresponding to probe locations for which the features will be extracted |
fun |
aggregation function, default to mean |
na.rm |
whether to remove NA |
n_min |
min number of non-NA for aggregation function to apply, overrides f_min |
f_min |
min fraction of non-NA for aggregation function to apply |
long |
produce long-form result |
matrix with samples on the rows and database set on the columns
library(SummarizedExperiment)
se <- sesameDataGet('MM285.467.SE.tissue20Kprobes')
head(dbStats(assay(se), "MM285.chromHMM")[,1:3])
sesameDataGet_resetEnv()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.