get.id.components {chicane} | R Documentation |
get.id.components
Description
Split a segment ID in form chrN:start-end
into its different components
Usage
get.id.components(id)
Arguments
id |
segment ID of form |
Value
A character vector of length three, where the elements are chromosome, start, and end, respectively.
If id
is a vector, a list of the same length is returned
Examples
get.id.components('chrX:6-30');
get.id.components(c('3:4-10', '22:1000-20000'))
[Package chicane version 0.1.8 Index]