powered by
Add phenotypes to cross object by checking index.
add.phenos(cross, newdata = NULL, index = NULL)
object of class cross with added phenotypes
cross
object of class cross; see read.cross
read.cross
data frame with row names matching values of phenotype identified by index for object cross
index
character string name of phenotype in object cross; if NULL, then newdata must be of same size as cross with phenotypes in order
NULL
newdata
Brian S. Yandell, byandell@wisc.edu
The name index must be a phenotype in the cross object. The row names of newdata are matched with values of index.
if (FALSE) { data(hyper) x <- data.frame(x = rnorm(nind(hyper))) hyperx <- add.phenos(hyper, x) }
Run the code above in your browser using DataLab