View source: R/create_scheme.R
| create_scheme | R Documentation | 
The function creates scheme from the provided parental information: 
1. single parent1 X single parent2 
2. single parent1 X list of parents2 
3. list of parents1 X single parent2 
All combinations of list of parents1 X list of parents2 is not allowed
create_scheme(P1,P2,N,id)
P1 | 
 Required: parent/s 1, a name or a list of names of the parents 1  | 
P2 | 
 Optional: parent/s 2, a name or a list of names of the parents 2  | 
F | 
 Required: number of repeated crossing generations, all crosses between founders will considered F1, the selfing will be continued for F1 up to F number of generations  | 
N | 
 Required: number of individuals in each repeated generation  | 
S | 
 Optional: number of lines in the segregating families descending form the last generation, F   | 
id | 
 Required: ID of the current breeding procedure  | 
Output is a structured object of:
1. scheme: contains the pedigree information of all haplotypes in a data frame of four columns: 
1.haplotype IDs 
2.generation 
3.parent 1 
4.parent 2 
P1 = c("Gregory","TifGurd","Tifrunner")
scheme = create_scheme(P1,"GTC20",200,'pop1')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.