trigger.eigenR2-methods {trigger} | R Documentation |
Estimate eqtl-R2, the proportion of genome-wide variation explained by each eQTL and identify linkage hotspots.
## S4 method for signature 'trigger' trigger.eigenR2(triggerobj, adjust = FALSE, meanR2 = FALSE)
triggerobj |
An object of class |
adjust |
Logical. If |
meanR2 |
Logical. If |
An updated object of class trigger
with a slot loc.obj
containing the proportion of genome-wide variation explained by each observed locus (eQTL). Use slot(triggerobj, "eigenR2")
to retrieve the eqtl-R2 values as a vector.
Lin S. Chen lschen.stat@gmail.com, Dipen P. Sangurdekar dps@genomics.princeton.edu and John D. Storey jstorey@princeton.edu
Chen L.S. and Storey J.D. (2008) Eigen-R2 for dissecting variation in high-dimensional studies. Bioinformatics 24(19): 2260–2262.
## Not run: data(yeast) attach(yeast) triggerobj <- trigger.build(marker = marker, exp = exp, marker.pos = marker.pos, exp.pos = exp.pos) triggerobj <- trigger.eigenR2(triggerobj, adjust = FALSE) plot(triggerobj, type = "eigenR2") eqtlR2 <- slot(triggerobj, "eigenR2") detach(yeast) ## End(Not run)