Does not fail if the phenotype is not present.

phemat_remove_phenotype(name, phenotype_matrix)

Arguments

name

phenotype names

phenotype_matrix

A phenotype matrix structure

Value

a phenotype matrix object

Examples

if (FALSE) {
phenotype_mat <- get_phenotype_matrix()
phenotype_mat <- phemat_add_phenotypes(name=list("PT1", "PT2"), phenotype_matrix = phenotype_mat)
phenotype_mat <- phemat_remove_phenotype(name= "PT1", phenotype_matrix = phenotype_mat)
}