query_methy {NanoMethViz} | R Documentation

## Query methylation data

### Description

Query methylation data

### Usage

    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

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

[Package NanoMethViz version 1.2.0 Index]