phemat_remove_phenotype: Remove a phenotype from the matrix request.

View source: R/phenotype_matrix.R

phemat_remove_phenotypeR Documentation

Remove a phenotype from the matrix request.

Description

Does not fail if the phenotype is not present.

Usage

phemat_remove_phenotype(name, phenotype_matrix)

Arguments

name

phenotype names

phenotype_matrix

A phenotype matrix structure

Value

a phenotype matrix object

Examples

## Not run: 
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)

## End(Not run)

wuxi-nextcode/gorr documentation built on Jan. 1, 2023, 7:54 a.m.