Description Usage Arguments Details Value See Also
Data visualization of Wavelet screening results.
1 | plot_WS(res, bp, lev_res, fill, dg)
|
res |
Output of Wavelet_screening, without Bayes Factor. |
bp |
a vector of the basepair position of the locus. You can provide only the starting and the endpoint of the locus. If missing ,set as 0, 1. |
lev_res |
the maximum level of resolution needed. This has to be less or equal to the requested level of resolution in the Wavelet_screening. |
fill |
logical. If not, provide set as TRUE. |
dg |
numerical. This is the number of digits displayed on the x-axis. If missing, set at 3. |
The function generates a ggplot from the Wavelet screening output. It represents the Betas for the different scales of the wavelet decomposition. The size and the darkness of the points that represent the Betas are scaled by the value of the Betas. If a Beta is not thresholded, then the region that represents the Beta is highlighted in order to give an overview of the size and the origin of the genetic signal.
return a ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.