phemat_add_phenotypes: Add multiple phenotypes to a phenotype matrix request.

View source: R/phenotype_matrix.R

phemat_add_phenotypesR Documentation

Add multiple phenotypes to a phenotype matrix request.

Description

Add multiple phenotypes to a phenotype matrix request.

Usage

phemat_add_phenotypes(names, phenotype_matrix, missing_value = NA)

Arguments

names

a comma seperated string or character vector of phenotype/s to be added. E.g. "height,weight" or c("height", "weight")

phenotype_matrix

A phenotype matrix structure

missing_value

The string to substitute for missing values in the data

Value

a phenotype matrix object

Examples

## Not run: 
phenotype_mat <- get_phenotype_matrix()
phenotype_mat <- phemat_add_phenotypes(names=c("PT1", "PT2"), phenotype_matrix = phenotype_mat)

## End(Not run)

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