R/phenotype_matrix.R
phemat_add_phenotypes.Rd
Add multiple phenotypes to a phenotype matrix request.
phemat_add_phenotypes(names, phenotype_matrix, missing_value = NA)
a comma seperated string or character vector of phenotype/s to be added. E.g. "height,weight" or c("height", "weight")
A phenotype matrix structure
The string to substitute for missing values in the data
a phenotype matrix object
if (FALSE) {
phenotype_mat <- get_phenotype_matrix()
phenotype_mat <- phemat_add_phenotypes(names=c("PT1", "PT2"), phenotype_matrix = phenotype_mat)
}