Learn R Programming

cape (version 2.0.2)

make.data.obj: Generate data.obj from pheno.obj and geno.obj

Description

This function combines information from a phenotype matrix and a genotype object to create a data object in which the results of the analysis will be stored.

Usage

make.data.obj(pheno.obj, geno.obj)

Arguments

pheno.obj
The object in which all results are stored. See read.population.
geno.obj
The object in which the genotype matrix and marker information are stored. See read.geno.

Value

Returns the data object. Marker information, but not the genotype matrix itself are transferred to the pheno.obj to generate a data.obj. The geno.obj is unchanged and is not returned.

See Also

read.geno read.pheno read.population