
Fit a Gaussian distribution for L2FC of each contrast
plot_diff_hist.Rdplot_diff_hist fit a Gaussian distribution for L2FC in each contrast.
The L2FC value is firstly filter out outlier, and then fit to normal curve based on likelihood.
Arguments
- object
 a SummarizedExperiment or DEGdata output from
test_diffortest_diff_deg- contrasts
 Character, the contrast in object
- plot
 Logical(1), if TRUE return histogram(s) of L2FC in each contras with fitted normal curve. if FALSE return the fitting result, mu and sigma of Gaussian distribution