convert.textpos.to.data: Convert a chr:pos1-pos2 vector to a matrix

Description Usage Arguments Value See Also Examples

View source: R/humarray.R

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

1

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.

See Also

ranged.to.txt

Examples

1
2

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