Utility functions for extracting the physical or genetic length of chromosome
maps and genome maps.
Usage
mapLen(x, ...)
# S3 method for chromMap
mapLen(x, sex = c("male", "female"), ...)
# S3 method for genomeMap
mapLen(x, sex = c("male", "female"), ...)
physRange(x, ...)
# S3 method for chromMap
physRange(x, ...)
# S3 method for genomeMap
physRange(x, ...)
Value
mapLen() returns a numeric of the same length as sex, with the
genetic length(s) in centiMorgan.
physRange() returns the physical length (in Mb) of the chromosome/genome
covered by the map. For example, for a chromosome map starting at 2 Mb and
ending at 8 Mb, the output is 6.