ranged.to.txt: Convert GRanges/RangedData to chr:pos1-pos2 vector

Description Usage Arguments Value See Also Examples

View source: R/humarray.R

Description

Takes a RangedData or GRanged object from some annotation lookup functions and converts to standard text positions, such as what you might see on the UCSC genome browser, such as chr1:10,000,234-11,000,567 for a range, or chrX:234,432 for a SNP. Useful for printing messages, concatenating positions to a single vector, or creating queries for databastes.

Usage

1
ranged.to.txt(ranges)

Arguments

ranges

A RangedData or GRanges object

Value

a text vector of the same length as 'ranges' with notation as described above representing each position in the 'ranges' object

See Also

convert.textpos.to.data

Examples

1

humarray documentation built on Nov. 20, 2017, 1:05 a.m.