Description Usage Arguments Details Value Note Author(s) Examples
View source: R/qtleffect_shape.R
Compute the effect size of qtl effect.
1  | effectsizeShape(qtl, shape = NULL, geno = NULL, ...)
 | 
qtl | 
 A qtl effect obtained from fitqtlShape  | 
shape | 
 A optional matrix of shape variables [n.ind n.pheno]  | 
geno | 
 A optional matrix of genotype data [n.ind n.qtl]  | 
Function takes a qtl object, and an optionally a shape matrix.
The function returns the effect size of qtls.
If the shape matrix and/or the genotypes are provided, then the function returns a dataframe with the ES standardized by genotype variance and the percentage explained of variance of the projection scores.
Nicolas Navarro
1  | ES <- effectsizeShape(qtl, shape, geno = as.matrix(getGeno(cross, qtl)))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.