ProcessDEGs
wraps several plotting functions to generate figures
specifically for the differentially expressed genes between each possible
comparison.
ProcessDEGs(dds, rld, vsd, outpath, level, plot.annos, padj.thresh = 0.05, fc.thresh = 2, plot.box = TRUE, plot.enrich = TRUE, enrich.libs = c("GO_Molecular_Function_2018", "GO_Cellular_Component_2018", "GO_Biological_Process_2018", "KEGG_2019_Human", "Reactome_2016", "BioCarta_2016", "Panther_2016"), top.n = 100)
dds | A DESeqDataSet object as returned by
|
---|---|
rld | A RangedSummarizedExperiment object of
|
vsd | A RangedSummarizedExperiment object of
|
outpath | Path to directory to be used for output. |
level | String defining variable of interest. |
plot.annos | String or character vector defining the column(s) in
|
padj.thresh | Number or numeric scalar indicating the adjusted p-value
cutoff(s) to be used for determining "significant" differential expression.
If multiple are given, multiple tables/plots will be generated using all
combinations of |
fc.thresh | Number or numeric scalar indicating the log2 fold-change
cutoff(s) to be used for determining "significant" differential expression.
If multiple are given, multiple tables/plots will be generated using all
combinations of |
plot.box | Boolean indicating whether box plots for DEGs should be
created for each comparison. If so, the |
plot.enrich | Boolean indicating whether enrichment analyses for DEGs should be run and plotted for each comparison. |
enrich.libs | A vector of valid Available libraries can be viewed with
|
top.n | Number of differentially expressed genes to create boxplots for,
ranked by adj. p-value after applying |
Named List containing a list named 'res.list' containing named lists
for each p-value threshold containing
DESeqResults objects for all comparisons generated by
ProcessDEGs
, a DESeqDataSet object named 'dds'
from running DESeq
, a
RangedSummarizedExperiment object named 'rld' from running
rlog
, and a RangedSummarizedExperiment
object from running vst
named 'vsd'.
ProcessDEGs
is called by RunDESeq2 but can also be re-run with
the RunDESeq2 output or its own output if you want to save time and
don't need to generate all of the exploratory data analysis figures again.
This function will generate many figures in addition to saving the counts and results tables.
RunDESeq2
, for generating input for this function.