powered by
Creates a data.frame containing parameters of a gene depending of his type
loadGene(name, type = "majorGene")
a data.frame with gene parameters
name of the gene
type of the gene: "majorGene", "APR", "QTL" or "immunity" (default = "majorGene")
"majorGene" means a completely efficient gene that can be broken down via a single pathogen mutation
"APR" means a major gene that is active only after a delay of 30 days after planting
"QTL" means a partial resistance (50% efficiency) that requires several pathogen mutations to be completely eroded
"immunity" means a completely efficient resistance that the pathogen has no way to adapt (i.e. the cultivar is non-host).
For different scenarios, the data.frame can be manually updated later.
setGenes
gene1 <- loadGene(name = "MG 1", type = "majorGene") gene1 gene2 <- loadGene(name = "Lr34", type = "APR") gene2
Run the code above in your browser using DataLab