mppData_add_pheno {mppR} | R Documentation |
Add new phenotypic values to a mppData object
Description
Add the new phenotypic values contained in 'pheno' to a mppData
object.
Usage
mppData_add_pheno(mppData, pheno)
Arguments
mppData |
An object of class |
pheno |
|
Value
Return:
mppData |
New |
Author(s)
Vincent Garin
See Also
mppData_mdf_pheno
, subset.mppData
,
Examples
data(mppData)
pheno_new <- data.frame(geno.id = mppData$geno.id, ph1 = rnorm(498))
mppData <- mppData_add_pheno(mppData = mppData, pheno = pheno_new)
[Package mppR version 1.5.0 Index]