Description Usage Arguments Value Author(s) References See Also Examples
The function does genomic control for the variance GWA result object.
1  | 
object | 
 a result object from   | 
plot | 
 a logical value turning on/off the QQ plot for genomic control.  | 
proportion | 
 a numeric value between 0 and 1 giving the proportion of obtained p-values to be used for genomic control.  | 
... | 
 not used.  | 
lambda | 
 estimated inflation ratio.  | 
lambda.se | 
 standard error of the estimated inflation ratio.  | 
gc.p.value | 
 p-values after genomic control.  | 
Xia Shen
Shen, X., Pettersson, M., Ronnegard, L. and Carlborg, O. (2011): Inheritance beyond plain heritability: variance-controlling genes in Arabidopsis thaliana. Submitted.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34  | ## Not run: 
# ----- load data ----- #
data(pheno)
data(geno)
data(chr)
data(map)
# ----- variance GWA scan ----- #
vgwa <- vGWAS(phenotype = pheno, geno.matrix = geno,
              marker.map = map, chr.index = chr)
              
# ----- visualize the scan ----- #
plot(vgwa)
summary(vgwa)
# ----- calculate the variance explained by strongest the marker ----- #
vGWAS.heritability(phenotype = pheno, 
                   marker.genotype = geno[,vgwa$p.value == min(vgwa$p.value)])
                   
# ----- genomic control ----- #
vgwa2 <- vGWAS.gc(vgwa)
                                
plot(vgwa2) 
summary(vgwa2)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.