plot_WS: Data visualization for the output of Wavelet screening

Description Usage Arguments Details Value See Also

View source: R/plot_WS.R

Description

Data visualization of Wavelet screening results.

Usage

1
plot_WS(res, bp, lev_res, fill, dg)

Arguments

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.

Details

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.

Value

return a ggplot

See Also

Wavelet_screening


william-denault/WaveletScreaming documentation built on Jan. 23, 2021, 12:34 p.m.