ucsc_to_granges: Convert UCSC coordinates to a GRanges object

View source: R/ucsc_to_granges.R

ucsc_to_grangesR Documentation

Convert UCSC coordinates to a GRanges object

Description

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

Usage

ucsc_to_granges(coords)

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

ucsc_coords <- c("chr1:1000-2000")
ucsc_to_granges(ucsc_coords)

LieberInstitute/jaffelab documentation built on April 1, 2024, 7:26 a.m.