make_names_from_granges: Create region name from Granges

Description Usage Arguments Examples

View source: R/utils.R

Description

Given a GRanges returns region name such as chr22:18267969-18268249

Usage

1

Arguments

region

A GenomicRanges object

Examples

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

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