coordToGRanges {chromswitch} | R 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)

[Package chromswitch version 1.2.1 Index]