View source: R/Methods-LandsepiParams.R
loadGene | R Documentation |
Creates a data.frame containing parameters of a gene depending of his type
loadGene(name, type = "majorGene")
name |
name of the gene |
type |
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.
a data.frame with gene parameters
setGenes
gene1 <- loadGene(name = "MG 1", type = "majorGene")
gene1
gene2 <- loadGene(name = "Lr34", type = "APR")
gene2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.