Add a new phenotype to the matrix request.
phemat_add_phenotype(name, phenotype_matrix, missing_value = NA, label = NULL)
Phenotype name
A phenotype matrix structure
The string to substitute for a missing value in the data
Optional label to apply to the phenotype
a phenotype matrix object
if (FALSE) {
phenotype_mat <- get_phenotype_matrix()
phenotype_mat <- phemat_add_phenotype(name="PT1", phenotype_matrix = phenotype_mat)
}