plot_mWaveQTL: Data visualisation for ffw output

Description Usage Arguments Details Value See Also

View source: R/plot_mWaveQTL.R

Description

Data visualisation of mWaveQTL screening results

Usage

1
plot_mWaveQTL(res, bp, lev_res, fill, dg, BF_lev)

Arguments

res

Output of mWaveQTL.

bp

a vector of the base pairs position of the loci, you can provide only the starting point and the end point of the loci. If missing set as 0, 1.

lev_res

the maximum level of resolution needed, has to be less or equal to the request level of resolution in the ffw function.

fill

logical, if not provide set as TRUE.

dg

numerical, the number of digits display on the x axe. If missing set at 3.

BF_lev

Level of Bayes Factor use to overlay regions. IF missing set as 1.

Details

The function generate a ggplot from the ffw function output. It represents the Bayes factor for the different levels scales of the wavelets decomposition. The size and the darkness of the points that represent the Bayes factor are scaled by the value of the Bayes factors. If a Bayes factor is greater than 1 then the region that represent the Bayes factor is filled up in order to give an orverview of the size and the origin of the genetic signal.

Value

return a ggplot

See Also

mWaveQTL


william-denault/mWaveQTL documentation built on Sept. 13, 2020, 2:50 p.m.