StringToGRanges: String to GRanges

View source: R/utilities.R

StringToGRangesR Documentation

String to GRanges

Description

Convert a genomic coordinate string to a GRanges object

Usage

StringToGRanges(regions, sep = c("-", "-"), ...)

Arguments

regions

Vector of genomic region strings

sep

Vector of separators to use for genomic string. First element is used to separate chromosome and coordinates, second separator is used to separate start and end coordinates.

...

Additional arguments passed to makeGRangesFromDataFrame

Value

Returns a GRanges object


Honchkrow/SignacSlim documentation built on April 9, 2022, 1:49 a.m.