ucsc_to_granges: Convert UCSC coordinates to a GRanges object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ucsc_to_granges.R

Description

This function takes a string of UCSC genome browser coordinates and returns them as a GRanges object.

Usage

1

Arguments

coords

A character vector of UCSC genome browser coordinates.

Value

A GRanges object.

Author(s)

Leonardo Collado-Torres, Andrew E Jaffe

See Also

granges_to_ucsc

Examples

1
2
ucsc_coords <- c('chr1:1000-2000')
ucsc_to_granges(ucsc_coords)

LieberInstitute/jaffelab documentation built on Aug. 15, 2018, 4:37 a.m.