chromosome2numeric {SNPchip} | R Documentation |
Provides a standard way of converting chromosome annotation stored in
SnpLevelSet
objects to the numeric class.
chromosome2numeric(chromosome)
chromosome |
an object inherited from SnpLevelSet |
This is useful when sorting SNPs in an object by chromosome and physical position – ensures that the sorting is done in the same way for different objects.
The function currently provides the following conversions:
"X" -> 23 "XY" -> 24 "Y" -> 25 "M" -> 26
numeric
R. Scharpf