phen: A binary phenotype.

phenR Documentation

A binary phenotype.

Description

This vector specifies the phenotype of each individual. In this case, the phenotype is a binary variable. Because the phenotypic vector is encoded as a factor with two possible phenotypic states, "A" and "B", which may be represented by the numeric values 1 and 2 (as in str(phen)).

Usage

data(phen)

Format

A named vector of length 100.

Details

Each individual in the sample is represented by a unique identifier (name) which corresponds to the name of one element of the phenotypic vector. Each element of the phenotypic vector gives the phenotypic value of the named individual.

Author(s)

Caitlin Collins caitiecollins@gmail.com


caitiecollins/treeWAS documentation built on Sept. 9, 2024, 8:23 a.m.