make_granges_from_names {MethReg} | R Documentation

## Create a Granges object from a genmic region string

### Description

Given a region name such as chr22:18267969-18268249, we will create a Granges object

### Usage

    make_granges_from_names(names)

### Arguments

`names` | A region name as "chr22:18267969-18268249" or a vector of region names.

### Value

A GRanges

### Examples

    regions.names <- c("chr22:18267969-18268249","chr23:18267969-18268249")
    regions.gr <- make_granges_from_names(regions.names)

[Package MethReg version 1.2.1 Index]