Skip to contents

plot_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.

Usage

plot_diff_hist(object, contrasts = NULL, plot = T)

Arguments

object

a SummarizedExperiment or DEGdata output from test_diff or test_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