query_methy {NanoMethViz} | R Documentation |
Query methylation data
query_methy(x, chr, start, end, simplify = TRUE)
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 |
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.
nmr <- load_example_nanomethresult() query_methy(methy(nmr), "chr7", 6703892, 6730431)