View source: R/phenotype_matrix.R
phemat_add_phenotypes | R Documentation |
Add multiple phenotypes to a phenotype matrix request.
phemat_add_phenotypes(names, phenotype_matrix, missing_value = NA)
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 |
a phenotype matrix object
## Not run: phenotype_mat <- get_phenotype_matrix() phenotype_mat <- phemat_add_phenotypes(names=c("PT1", "PT2"), phenotype_matrix = phenotype_mat) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.