Learn R Programming

cape (version 2.0.2)

get.pheno: Retrieve the genotype matrix.

Description

This function retrieves the phenotype matrix either from the data object.

Usage

get.pheno(data.obj, scan.what = c("eigentraits", "raw.traits"))

Arguments

data.obj
The object in which all results are stored. See read.population.
scan.what
A character string defining whether the eigentraits or phenotypes are desired.

Value

Returns a matrix of phenotype values.

See Also

read.geno read.pheno make.data.obj read.population get.geno