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)


selinj/chromswitch documentation built on Jan. 27, 2024, 12:36 p.m.