View source: R/breeding_game.R
simulTrait3 | R Documentation |
Simulate phenotypes of trait 3.
simulTrait3(
dat,
X,
afs = NULL,
subset.snps = NULL,
qtn.id = NULL,
resist.genos = NULL,
prob.resist.no.qtl = 0.02,
verbose = 1
)
dat |
data.frame specifying the structure of the initial data set of phenotypes |
X |
matrix of bi-allelic SNP genotypes encoded in allele dose in 0,1,2 |
afs |
vector of allele frequencies (ignored if |
subset.snps |
vector of SNP identifiers to which the QTN should belong (ignored if |
qtn.id |
identifier of the causal SNP (QTN) |
resist.genos |
vector of genotypes in allele dose at the causal SNP providing the resistance (ignored if |
prob.resist.no.qtl |
probability for a genotype without the QTL to be resistant a year with the pathogen |
verbose |
verbosity level (0/1) |
list
Timothee Flutre
makeDfInitPhenos
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.