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 Oct. 11, 2024, 7:17 a.m.