This function takes a variable from the phenotype matrix for example, diet treatment or sex and converts it to a covariate.
vector of trait names to be used as covariates
Returns the data object with the specified traits removed
from the phenotype matrix and transferred where they will be used
as covariates. Information about assigned covariates can be retrieved
## Not run: #convert weight to a covariate data_obj <- pheno2covar(data_obj, "weight") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.