bsseq_to_edger: Convert BSseq object to edgeR methylation matrix

Description Usage Arguments Value Examples

View source: R/bsseq_to_edger.R

Description

Convert BSseq object to edgeR methylation matrix

Usage

1

Arguments

bsseq

the BSseq object.

Value

a matrix compatible with the edgeR differential methylation pipeline

Examples

1
2
3
methy <- system.file("methy_subset.tsv.bgz", package = "NanoMethViz")
bsseq <- methy_to_bsseq(methy)
edger_mat <- bsseq_to_edger(bsseq)

NanoMethViz documentation built on Nov. 8, 2020, 4:51 p.m.