refinePlan | R Documentation |
Devolute mating plan to reduce relatedness
refinePlan( data, plan, K, n.cross = 50, max.cross = 4, min.cross = 2, culling.pairwise.k = 0.25, max.attempts = 100 )
data |
data frame with possible crosses to filter out |
plan |
current mating plan |
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 |
culling.pairwise.k |
don't allow crosses with more than this threshold of relatedness. Default is 0.25. |
max.attempts |
maximum number of attempts to improve the plan |
A list with a data frame with the attempts and a data frame with the improved mating plan
Rodrigo R Amadeu, rramadeu@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.