make_granges_from_names: Create a Granges object from a genmic region string

Description Usage Arguments Examples

View source: R/utils.R

Description

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

Usage

1

Arguments

names

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

Examples

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

MethReg documentation built on Nov. 8, 2020, 8:01 p.m.