Description Usage Arguments Details Examples
This function plots the log10 GLR value in the region calculated from the glr
functions.
1 |
glr |
a dataframe, output from |
snpName |
a string specifying the SNP to be marked. |
kcut |
numeric; the cut-off to be plotted. Can have value <=1. |
col |
color of the likelihood interval lines from smallest to largest. For instance, |
legend_cex |
numeric; control the size of the legend, default 1. |
... |
Argument passed to the |
This function takes output from glr
as input. It will plot the GLR value on a log-scale and marked the SNPs of interests (defaultly the SNP with the maximum GLR values).
1 2 3 4 5 6 7 8 | data(evian_linear_raw)
data(evian_linear_bim)
rst2=glr(data=evian_linear_raw, bim=evian_linear_bim, xcols=10:ncol(evian_linear_raw),
ycol=6, covariateCol=c(5,7:9), c=0.025,robust=F, model="additive",
m=200, lolim=-0.6, hilim=0.6, multiThread=1,family='gaussian',plinkCC=FALSE)
# Plot the density for rs912
glr_plot(glr=rst2,ylim=c(-0.5,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.