Description Usage Arguments Details Author(s) References Examples
This function plots the likelihood intervals (LIs) for all SNPs calculated using evian
.
1 2 3 |
bpstart,bpend |
numeric; indicating the range of base pairs to be plotted. From |
dList |
a row-combined list, output from |
title |
string; title of plot |
showmaxlr |
numeric; number of top SNPs to display on the graph. Default = 3. SNPs are chosen by their maximum likelihood ratio values. |
kcut |
numeric; the cut-off to be plotted. If |
pl |
a string specifying the y-axis for the plot. The y-axis will be plotted as 'Odds Ratio' if |
markSNP |
vector of strings; indicates which SNPs to be marked on the plot. By default it will mark all SNPs that are significant at the smallest cut-off. |
round |
numeric; number of digits displayed on the plot. |
ylim |
graphical parameter used in |
color |
color of the likelihood interval lines from smallest to largest. For instance, |
legend_cex |
numeric; control the size of the legend, default 1. |
This function takes output from evian
as input. It will plot the likelihood intervals for each of the SNPs analyzed. If 1/k interval is significant then it will be colored by the specified color and will remain grey if the interval is not significant.
Dr. Lisa J Strug lisa.strug@utoronto.ca
Strug, L. J., Hodge, S. E., Chiang, T., Pal, D. K., Corey, P. N., & Rohde, C. (2010). A pure likelihood approach to the analysis of genetic association data: an alternative to Bayesian and frequentist analysis. Eur J Hum Genet, 18(8), 933-941. doi:10.1038/ejhg.2010.47
1 2 3 4 5 6 7 8 | data(evian_linear_raw)
data(evian_linear_bim)
rst1=evian(data=evian_linear_raw, bim=evian_linear_bim, xcols=10:ncol(evian_linear_raw),
ycol=6, covariateCol=c(5,7:9), robust=FALSE, model="additive", m=200, lolim=-0.4,
hilim=0.4, kcutoff = c(32,100), multiThread=1,family='gaussian',plinkCC=FALSE)
# Plot the LIs for all 3 SNPs
multiLine_plot(dList=rst1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.