Learn R Programming

pheno2geno (version 1.4.0)

set.geno.from.cross: Pull genotype from an object of class cross.

Description

Pulling genotypes with a map from cross and putting into population object.

Usage

set.geno.from.cross(cross,population,map=c("genetic","physical"))

Arguments

cross

An object of class cross. See read.cross for details. If not supported, it will be created using data stored in population

population

An object of class population. See create.population for details.

map

In which map ofd an population object shall map pulled from cross be stored:

  • genetic - genetic map - population$offspring$maps$genetic.

  • physical - physical map - population$offspring$maps$physical.

Value

An object of class population. See create.population for details.

Details

This function pull genotypes with a map from the cross object and puts them into provided population object. This is useful if the same cross is saturated multiple times.

See Also

Examples

Run this code
# NOT RUN {
	data(testPopulation)
	data(testCross)
	testPopulation <- set.geno.from.cross(testCross,testPopulation)
# }

Run the code above in your browser using DataLab