granges_to_ucsc: Convert a GRanges object to UCSC coordinates

View source: R/ucsc_to_granges.R

granges_to_ucscR Documentation

Convert a GRanges object to UCSC coordinates

Description

This function takes a GRanges objects and returns a string of UCSC genome browser coordinates.

Usage

granges_to_ucsc(gr)

Arguments

gr

A GRanges object.

Value

A character vector of UCSC genome browser coordinates.

Author(s)

Leonardo Collado-Torres

See Also

ucsc_to_granges

Examples

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

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