methy_to_bsseq: Create BSSeq object from methylation tabix file

View source: R/methy_to_bsseq.R

methy_to_bsseqR Documentation

Create BSSeq object from methylation tabix file

Description

Create BSSeq object from methylation tabix file

Usage

methy_to_bsseq(methy, out_folder = tempdir(), verbose = TRUE)

Arguments

methy

the NanoMethResult object or path to the methylation tabix file.

out_folder

the folder to store intermediate files. One file is created for each sample and contains columns "chr", "pos", "total" and "methylated".

verbose

TRUE if progress messages are to be printed

Value

a BSSeq object.

Examples

nmr <- load_example_nanomethresult()
bsseq <- methy_to_bsseq(nmr)

Shians/NanoMethViz documentation built on June 8, 2024, 10:48 p.m.