Description Usage Arguments Details References Examples
This function plots the density distribution for a single SNP calculated from the evian
functions.
1 2 |
dList |
a row-combined list, output from |
snpName |
a string specifying the SNP to be plotted. |
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 |
xlim |
graphical parameter used in |
color |
color of the likelihood interval lines from smallest to largest. For instance, |
round |
numeric; number of digits displayed on the plot. |
legend_cex |
numeric; control the size of the legend, default 1. |
This function takes output from evian
as input. It will plot the density of the estimated standardized profile likelihood for the SNP of interest. Some basic summary statistics will be included on the plot too.
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
Royall, R. (1997). Statistical Evidence: A Likelihood Paradigm. London, Chapman and Hall.
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 density for rs912
densityPlot(dList=rst1,snpName='rs912')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.