phemat_add_phenotype: Add a new phenotype to the matrix request.

View source: R/phenotype_matrix.R

phemat_add_phenotypeR Documentation

Add a new phenotype to the matrix request.

Description

Add a new phenotype to the matrix request.

Usage

phemat_add_phenotype(name, phenotype_matrix, missing_value = NA, label = NULL)

Arguments

name

Phenotype name

phenotype_matrix

A phenotype matrix structure

missing_value

The string to substitute for a missing value in the data

label

Optional label to apply to the phenotype

Value

a phenotype matrix object

Examples

## Not run: 
phenotype_mat <- get_phenotype_matrix()
phenotype_mat <- phemat_add_phenotype(name="PT1", phenotype_matrix = phenotype_mat)

## End(Not run)

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