coordToGRanges: coordToGRanges

View source: R/coordinates.R

coordToGRangesR Documentation

coordToGRanges

Description

Convert a string of genomic coordinates to a GRanges object

Usage

coordToGRanges(coord)

Arguments

coord

String coordinate in genome browser-friendly format to convert to a GRanges object

Value

GRanges object

Examples

string <- "chr1:1000-2000"
coordToGRanges(string)


sjessa/chromswitch documentation built on Feb. 4, 2024, 2:04 a.m.