loadGene {landsepi} | R Documentation |
Load a gene
Description
Creates a data.frame containing parameters of a gene depending of his type
Usage
loadGene(name, type = "majorGene")
Arguments
name |
name of the gene |
type |
type of the gene: "majorGene", "APR", "QTL" or "immunity" (default = "majorGene") |
Details
"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.
Value
a data.frame with gene parameters
See Also
Examples
gene1 <- loadGene(name = "MG 1", type = "majorGene")
gene1
gene2 <- loadGene(name = "Lr34", type = "APR")
gene2
[Package landsepi version 1.4.0 Index]