Download Package `synbreed`

Transcript
add.individuals
add.individuals
3
Add new individuals to objects of class gpData
Description
This function extends an object of class gpData by adding new phenotypes, genotypes and pedigree.
Usage
add.individuals(gpData, pheno = NULL, geno = NULL,
pedigree = NULL, covar = NULL, repl=NULL)
Arguments
gpData
object of class gpData to be updated
pheno
data.frame with new rows for phenotypes with rownames indicating individuals. For repeated values the ID should be stored in a column with name "ID".
geno
matrix with new rows for genotypic data with rownames indicating individuals
pedigree
data.frame with new rows for pedigree data
covar
data.frame with new rows for covar information with rownames indicating
individuals
repl
The column of the pheno data.frame for the replicated measures. If the values
are not repeated or this column is named "repl" this argument is not needed.
Details
colnames in geno, pheno and pedigree must match existing names in gpData object.
Value
object of class gpData with new individuals
Author(s)
Valentin Wimmer
See Also
add.markers, discard.individuals