query_methy: Query methylation data

Description Usage Arguments Value Examples

View source: R/query_methy.R

Description

Query methylation data

Usage

1
query_methy(x, chr, start, end, simplify = TRUE)

Arguments

x

the path to the methylation data (tabix-bgzipped)

chr

the vector of chromosomes

start

the vector of start positions

end

the vector of end positions

simplify

whether returned results should be row-concatenated

Value

A table containing the data within the queried regions. If simplify is TRUE (default) then all data is contained within one table, otherwise it is a list of tables where each element is the data from one region.

Examples

1
2
nmr <- load_example_nanomethresult()
query_methy(methy(nmr), "chr7", 6703892, 6730431)

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