Description Usage Arguments Value Examples
View source: R/bsseq_to_edger.R
Creates a log-methylation-ratio matrix from a BSseq object that is useful for dimensionality reduction plots.
1 | bsseq_to_log_methy_ratio(bsseq, prior_count = 2)
|
bsseq |
the BSseq object. |
prior_count |
the prior count added to avoid taking log of 0. |
a matrix containing log-methylation-ratios.
1 2 3 | methy <- system.file("methy_subset.tsv.bgz", package = "NanoMethViz")
bsseq <- methy_to_bsseq(methy)
log_m_ratio <- bsseq_to_log_methy_ratio(bsseq)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.