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

Description Usage Arguments Value Examples

View source: R/cape2mpp.R

Description

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

Usage

1
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

1
2
3
4
## Not run: 
new_data_obj <- cape2mpp(old_data_obj)

## End(Not run)

cape documentation built on Feb. 10, 2021, 5:06 p.m.