make_names_from_granges {MethReg} | R 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)

[Package MethReg version 1.2.1 Index]