setupQtlCrossObject | R Documentation |
Set up a "cross" object from the qtl package.
setupQtlCrossObject(gendat, cross.type, genmap = NULL, phenos = NULL)
gendat |
genotype data in the qtl format as a matrix with genotypes in rows and markers in columns; if genmap is provided, only the markers also on the map will be kept |
cross.type |
type of cross ("bc" for a backcross, "4way" for a cross between two outbred parents) |
genmap |
genetic map as a data frame with one row per marker and at least two columns named "linkage.group" and "locus"; if a third one, "genetic.distance", is absent, it will be created and filled with fake, incremental values; if NULL, a fake genetic map will be created with all markers in the same linkage group; it is assumed that all linkage groups correspond to autosomes |
phenos |
data frame containing the phenotypes; if not NULL, the genotype identifiers should be in a column named "Genotype" or as row names; otherwise, will be created with such a column |
object of class "cross" as defined in the qtl package
Timothee Flutre
joinMap2backcross
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.