coordToGRanges: coordToGRanges

Description Usage Arguments Value Examples

View source: R/coordinates.R

Description

Convert a string of genomic coordinates to a GRanges object

Usage

1

Arguments

coord

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

Value

GRanges object

Examples

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

chromswitch documentation built on Nov. 8, 2020, 5:24 p.m.