View source: R/bsseq_to_edger.R
bsseq_to_edger | R Documentation |
Convert BSseq object to edgeR methylation matrix
bsseq_to_edger(bsseq, regions = NULL)
bsseq |
the BSseq object. |
regions |
the regions to calculate log-methylation ratios over. If left NULL, ratios will be calculated per site. |
a matrix compatible with the edgeR differential methylation pipeline
methy <- system.file("methy_subset.tsv.bgz", package = "NanoMethViz", mustWork = FALSE)
bsseq <- methy_to_bsseq(methy)
edger_mat <- bsseq_to_edger(bsseq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.