ucsc2GRanges {compEpiTools} | R Documentation

## Convert UCSC-formatted genomic positions into a GRanges

### Description

Convert UCSC-formatted genomic positions to a GRanges object

### Usage

    ucsc2GRanges(ucscPositions)

### Arguments

`ucscPositions` | character; a vector of UCSC formatted genomic positions.

### Details

UCSC formatted genomic positions such as chr5:10000-35000 are converted into GRanges format.

### Value

a GRanges with chr, start and end derived from the UCSC format

### References

http://genomics.iit.it/groups/computational-epigenomics.html

### Examples

    ucsc2GRanges(c('chr1:100-500','chrX:20-1000'))

[Package compEpiTools version 1.24.0 Index]