cape2mpp {cape}R Documentation

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)

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.

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.

Examples

## Not run: 
new_data_obj <- cape2mpp(old_data_obj)

## End(Not run)

[Package cape version 3.1.0 Index]