Learn R Programming

landsepi (version 1.1.1)

loadGene: 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")

Value

a data.frame with gene parameters

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 nonhost).

For different scenarios, the data.frame can be manually updated later.

See Also

setGenes

Examples

Run this code
# NOT RUN {
gene1 <- loadGene(name = "MG 1", type = "majorGene")
gene1
gene2 <- loadGene(name = "Lr34", type = "APR")
gene2
# }

Run the code above in your browser using DataLab