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.
convert.textpos.to.data(text)
character vector, format like chr:pos1-pos2
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.
# NOT RUN {
txt <- ranged.to.txt(rranges())
convert.textpos.to.data(txt)
# }
Run the code above in your browser using DataLab