position2Cytoband {quantsmooth}R Documentation

Determine cytoband position based on location of probe

Description

Determine cytoband position based on location of probe

Usage

position2Cytoband(chrom, position, units = c("cM", "bases", "ISCN"), bands = c("major", "minor"))

Arguments

chrom chromosomal id, chromosome to plot 1:22,X,Y
position numeric vector
units character, type of positional unit
bands chararcter, type of cytoband

Value

Character vector with cytobands, if an illegal position was used, the value "-" is returned. All positions within a single function call should be for a single chromosome

Author(s)

Jan Oosting

See Also

lengthChromosome

Examples

   position2Cytoband(1,c(50e6,125e6,200e6),units="bases")
   position2Cytoband(1,c(50,125,200),units="cM",bands="minor")

[Package quantsmooth version 1.8.0 Index]