devolutePlan | R Documentation |
Devolute mating plan to reduce relatedness
devolutePlan( data, K, n.cross = 200, max.cross = 4, min.cross = 2, max.cross.to.search = 1e+05, culling.pairwise.k = 0.25, n.threads = 1, n.steps = 200, min.target.k = NULL )
data |
data frame with possible crosses to filter out |
K |
relationship matrix |
n.cross |
number of crosses in the mating plan |
max.cross |
maximum number of crosses per individual in the plan |
min.cross |
minimum number of crosses per individual in the plan |
max.cross.to.search |
maximum number of rows in the input to search for the solution |
culling.pairwise.k |
don't allow crosses with more than this threshold of relatedness. Default is 0.25. |
n.threads |
number of threads to run in parallel |
n.steps |
number of steps in the evolution |
min.target.k |
if target K is lower than this threshold, the algorithm stops. |
A list with a data frame with the steps and a data frame with the mating plan at the last iteration
Rodrigo R Amadeu, rramadeu@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.