Description Usage Arguments Value Map Units See Also
Get the map unit of the object. In most cases, this is taken from the
'map.unit'
attribute of the object. For a data.frame
, the
position column is also checked for map unit information; an error is
raised if data.frame
map unit information is inconsistent.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | getMapUnit(x)
## S3 method for class 'data.frame'
getMapUnit(x)
## Default S3 method:
getMapUnit(x)
## S3 method for class 'map'
getMapUnit(x)
## S3 method for class 'mapframe'
getMapUnit(x)
## S3 method for class 'scanone'
getMapUnit(x)
|
x |
Object containing map data. |
Map unit. Returns NA
if map unit information not found.
A map
or mapframe
must express positions in either genetic or
physical map units. Genetic map positions must be in centiMorgans (cM), while
physical map positions must be in base pairs (bp), kilobases (kb), or
Megabases (Mb).
Other map utility functions: as.data.frame.mapframe
,
as.data.frame.map
,
as.mapframe
, as.map
,
extractMarkers
,
extractPseudomarkers
,
findFlanking
, findLoci
,
findMarkers
, getMapSteps
,
gmapframe
, hasMapCSV
,
inMapOrder
, inferMapStep
,
mapframe
, mapsEqual
,
orderMap
, readMapCSV
,
readMapHDF5
, readMapframeCSV
,
setMapUnit
, writeMapCSV
,
writeMapHDF5
,
writeMapframeCSV
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.