select_pheno | R Documentation |
Updates the pheno object to include only 'pheno_which' columns. Optionally scale and/or normalize traits.
select_pheno(
data_obj,
pheno_which,
min_entries = 5,
scale_pheno = FALSE,
rank_norm_pheno = FALSE
)
data_obj |
a |
pheno_which |
vector of names from the parameters YAML file. This vector should include both traits and covariates. The covariates are assigned after trait selection. |
min_entries |
minimum number of data entries the phenotype needs to have for it to be included. If any trait has fewer than min_entries, It will be removed with a warning. |
scale_pheno |
if TRUE then phenotypes are mean-centered and standardized |
rank_norm_pheno |
if TRUE then phenotypes are rank Z normalized |
updated Cape
object
## Not run:
data_obj <- select_pheno(data_obj, pheno_which = c("BW_24", "INS_24", "log_GLU_24"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.