PlotPValHist.RdGenerate a p-value histogram from a DEG table inside a geneda object.
This function uses raw p-values only and highlights p-values below a given
threshold (default 0.05).
PlotPValHist(object, assay, bins = 40, alpha = 0.05, title = NULL)A geneda object containing DEGs in the DEGs slot.
The name of the DEG table to use (must contain a "pvalue" column).
Number of histogram bins (default 40).
Significance threshold (default 0.05). Bars representing p-values < alpha will be highlighted.
Optional title for the plot.
A ggplot2 object