methy_to_bsseq: Create BSSeq object from methylation tabix file

Description Usage Arguments Value Examples

View source: R/methy_to_bsseq.R

Description

Create BSSeq object from methylation tabix file

Usage

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

Arguments

methy

the 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

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

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