make_names_from_granges: Create region name from Granges

View source: R/utils.R

make_names_from_grangesR Documentation

Create region name from Granges

Description

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

Usage

make_names_from_granges(region)

Arguments

region

A GenomicRanges object

Value

A string

Examples

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

TransBioInfoLab/MethReg documentation built on July 28, 2023, 9:17 p.m.