get.id.components: get.id.components

Description Usage Arguments Value Examples

View source: R/get.id.components.R

Description

Split a segment ID in form chrN:start-end into its different components

Usage

1

Arguments

id

segment ID of form chrN:start-end

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

1
2
	get.id.components('chrX:6-30');
get.id.components(c('3:4-10', '22:1000-20000'))

chicane documentation built on Nov. 7, 2021, 1:07 a.m.