Learn R Programming

cape (version 3.1.2)

cape2mpp: Converts a read_population object to a multi-parent object

Description

This function converts an object formatted for cape 1.0 to an object formatted for cape 2.0

Usage

cape2mpp(data_obj, geno_obj = NULL)

Value

This function returns a list with two objects: list("data_obj" = data_obj, "geno_obj" = geno_obj)

These two objects must be separated again to run through cape.

Arguments

data_obj

a data_obj formatted for cape 1.0

geno_obj

a genotype object. If geno_obj is NULL the genotype object is generated from data_obj$geno.