ucsc2GRanges: Convert UCSC-formatted genomic positions into a GRanges

Description Usage Arguments Details Value References Examples

View source: R/ucsc2GRanges.R

Description

Convert UCSC-formatted genomic positions to a GRanges object

Usage

1
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

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

compEpiTools documentation built on Nov. 8, 2020, 5:32 p.m.