make_dnam_se | R Documentation |
Transform DNA methylation array into a summarized Experiment object
make_dnam_se(
dnam,
genome = c("hg38", "hg19"),
arrayType = c("450k", "EPIC"),
betaToM = FALSE,
verbose = FALSE
)
dnam |
DNA methylation matrix with beta-values or m-values as data, row as cpgs "cg07946458" or regions ("chr1:232:245") and column as samples |
genome |
Human genome of reference: hg38 or hg19 |
arrayType |
DNA methylation array type (450k or EPIC) |
betaToM |
indicates if converting methylation beta values to mvalues |
verbose |
A logical argument indicating if messages output should be provided. |
A summarized Experiment object with DNA methylation probes mapped to genomic regions
library(dplyr)
dnam <- runif(20, min = 0,max = 1) %>% sort %>%
matrix(ncol = 1) %>% t
rownames(dnam) <- c("chr3:203727581-203728580")
colnames(dnam) <- paste0("Samples",1:20)
se <- make_dnam_se(dnam)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.