get_phenotype: Subset a larger wide-format phenotype table to a defined...

View source: R/gwar.R

get_phenotypeR Documentation

Subset a larger wide-format phenotype table to a defined phenotype.

Description

Subset a larger wide-format phenotype table to a defined phenotype.

Usage

get_phenotype(phenotype_table, phenotype, acc_col = "ACC_ID", specific = NULL)

Arguments

phenotype_table

a table containing phenotyping measurements, and accession ids (see below)

phenotype

a specific phenotype from the phenotype table. Must match to a column name of the phenotype table

acc_col

the column that contains accession identifiers.

specific

(optional) treatment column that was used to split samples for specific GWAS.

Details

This function takes a phenotype table in wide format, and returns that phenotype. Optionally includes a "specific" variable.


Gregor-Mendel-Institute/gwaR documentation built on Feb. 8, 2023, 8:34 p.m.