crodesign | R Documentation |
Generate a mating design for a subset of crosses based on a balanced random partial rectangle cross-design (BRPRCD) (Xu et al. 2016).
crodesign(d, male_name, female_name, seed = 123)
d |
an integer denoting 1/d percentage of crosses to be evaluated in the field. |
male_name |
a character string for the names of male parents. |
female_name |
a character string for the names of male parents. |
seed |
the random number, default is 123. |
A data frame of mating design result with three columns. The first column is "crossID", the second column is the "male_Name" and the third column is the "female_Name".
Xu S, Xu Y, Gong L and Zhang Q. (2016) Metabolomic prediction of yield in hybrid rice. Plant J. 88, 219-227.
## generate a mating design with 100 male parents and 150 female parents ## for 1/d = 1/50 percentage of crosses to be evaluated in the field. ## the total number of potential crosses is 100*150 = 15000. ## The number of crosses to be field evaluated is 15000*(1/50) = 300. male_name <- paste("m", 1:100, sep = "") female_name <- paste("f", 1:150, sep = "") design <- crodesign(d = 50, male_name, female_name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.