convert.textpos.to.data: Convert a chr:pos1-pos2 vector to a matrix
Description
Takes 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, and converts to
with cols: chr, start, end.
Usage
convert.textpos.to.data(text)
Arguments
text
character vector, format like chr:pos1-pos2
Value
a matrix of the same length as 'ranges' with columns chr, start and end, and
rownames will be the same as the original text vector.