pull.argmaxgeno | R Documentation |
Pull out the results of argmax.geno
from a cross as a matrix.
pull.argmaxgeno(cross, chr, include.pos.info=FALSE, rotate=FALSE)
cross |
An object of class |
chr |
Optional vector indicating the chromosomes to consider.
This should be a vector of character strings referring to chromosomes
by name; numeric values are converted to strings. Refer to
chromosomes with a preceding |
include.pos.info |
If TRUE, include columns with marker name,
chromosmoe ID, and cM position. (If |
rotate |
If TRUE, return matrix with individuals as columns and positions as rows. If FALSE, rows correspond to individuals. |
A matrix containing numeric indicators of the inferred genotypes. Multiple chromosomes are pasted together.
Karl W Broman, broman@wisc.edu
pull.geno
, pull.genoprob
,
pull.draws
, argmax.geno
data(listeria)
listeria <- argmax.geno(listeria, step=1, stepwidth="max")
amg <- pull.argmaxgeno(listeria, chr=c(5,13), include.pos.info=TRUE, rotate=TRUE)
amg[1:5,1:10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.