plot.qq | R Documentation |
Plots qq plot with empirical values and empirical confidence intervals
plot.qq(data = NULL, obs, emp, N = 30, step = 10, legend = T,
plot.emp = T, conf.level = 0.95, conf = c(0.025, 0.975), show.pb = T)
data |
a gwaa.data-class object used to fit the original model |
obs |
observed values from association test |
emp |
a matrix of empirical p-values (permutation per row) or a list, result of running polygenic model |
N |
if polygenic model supplied, a number of permutations to run |
step |
computation coarseness step |
legend |
if the legend is to be plotted |
plot.emp |
plotting empirical values |
conf.level |
confidence threshold (0.95 by default) |
conf |
a vector defininy the lower and the upper confidence interval, default 5% CI. |
show.pb |
a logical indicating whether progress bar will be shown |
Marcin Kierczak <Marcin.Kierczak@imbim.uu.se>
## Not run:
plot.qq(obs=data.mm[,'Pc1df], conf=c(0.025, 0.975), emp = result[,'Pc1df'], step=10, legend=T, plot.emp=T, conf.level=.95)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.