RegionsToRanges: Convert genomic regions in a data frame to GRanges format

View source: R/util4_RegionsToRanges.R

RegionsToRangesR Documentation

Convert genomic regions in a data frame to GRanges format

Description

Convert genomic regions in a data frame to GRanges format

Usage

RegionsToRanges(regionName_char)

Arguments

regionName_char

a character vector of regions in the format "chrxx:xxxxxx-xxxxxx"

Value

genomic regions in GRanges format

Examples

 regions <- c("chr22:19709548-19709755", "chr2:241721922-241722113")
 RegionsToRanges(regions)

TransBioInfoLab/coMethDMR documentation built on Oct. 15, 2024, 12:52 a.m.