Description Usage Arguments Value Map See Also
Convert object to map.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | as.map(from, map.unit = NULL)
## S3 method for class 'data.frame'
as.map(from, map.unit = NULL)
## S3 method for class 'list'
as.map(from, map.unit = NULL)
## S3 method for class 'map'
as.map(from, map.unit = NULL)
## S3 method for class 'mapframe'
as.map(from, map.unit = NULL)
## S3 method for class 'scanone'
as.map(from, map.unit = NULL)
|
from |
Object containing map data. |
map.unit |
Explicitly sets |
An R/qtl map corresponding to the input object.
The R/qtl map object - described in detail in Section 2.6 of
Broman and Sen (2009) - comprises a nonempty list, each element of which
contains two or more marker positions for a given chromosome. Each list
element is named for its corresponding chromosome, while the names of each
chromosome's marker position vector comprise the marker locus IDs.
Within shmootl, a map must represent either a genetic or a
physical map. These are distinguished by the 'map.unit' attribute
of an object, which can contain either genetic or physical map units.
Other map utility functions: as.data.frame.mapframe,
as.data.frame.map,
as.mapframe, extractMarkers,
extractPseudomarkers,
findFlanking, findLoci,
findMarkers, getMapSteps,
getMapUnit, 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.