differential_functional_enrichment
Run functional analysis on differential abundance analysis output
Input
Channel with the input data for functional analysis.
input should be the DE statistics obtained from the DE modules, or the
normalised abundance matrix (in the case of running GSEA). genesets is the
gene sets database, in GMT format for all methods. background holds the
background features, currently only required for gprofiler2.
analysis_method is one of gprofiler2, gsea, decoupler or grea.
Structure: [ val(meta), path(input), path(genesets), path(background), val(analysis_method) ]
Channel with contrast information. meta_contrast holds all the contrast info,
such as contrast id, variable, reference, target, etc.
Structure: [ val(meta), val(meta_contrast), val(variable), val(reference), val(target), val(formula), val(comparison) ]
Output
HTML file; interactive Manhattan plot of all enriched pathways. Note that this
file will only be generated if enriched pathways were found.
Structure: [ val(meta), path(plot_html) ]
*.gprofiler2.gostplot.htmlTable listing all enriched pathways that were found by gprofiler2. It can be
empty, if none is found.
Structure: [ val(meta), path(all_enrich) ]
*.gprofiler2.all_enriched_pathways.tsvTable listing enriched pathways that were found from one particular source.
Note that it will only be created if any were found.
Structure: [ val(meta), path(sub_enrich) ]
*.gprofiler2.*.sub_enriched_pathways.tsvPNG file; Manhattan plot of all enriched pathways.
Structure: [ val(meta), path(plot_png) ]
*.gprofiler2.gostplot.pngPNG file; bar plot showing the fraction of genes that were found enriched in
each pathway.
Structure: [ val(meta), path(sub_plot) ]
*.gprofiler2.*.sub_enriched_pathways.pngRDS file; R object containing the results of the gost query.
Structure: [ val(meta), path(rds) ]
*.gprofiler2.gost_results.rdsGMT file that was provided as input or that was downloaded from g:profiler if no
input GMT file was given; filtered for the selected datasources.
Structure: [ val(meta), path(filtered_gmt) ]
*ENSG_filtered.gmtMain TSV results report files for the reference and target groups.
Structure: [ val(meta), path(report_tsv_ref), path(report_tsv_target) ]
*gsea_report_for_*.tsvMain HTML results report files for the reference and target groups.
Structure: [ val(meta), path(report_html_ref), path(report_html_target) ]
*gsea_report_for_*.htmlHTML file combining heatmap and rank correlation plot.
Structure: [ val(meta), path(heat_map_corr_plot) ]
*heat_map_corr_plot.htmlTSV file with ranked gene list and scores.
Structure: [ val(meta), path(ranked_gene_list) ]
*ranked_gene_list*.tsvTSV file with gene set sizes.
Structure: [ val(meta), path(gene_set_sizes) ]
*gene_set_sizes.tsvPlot showing number of gene sets by enrichment score.
Structure: [ val(meta), path(histogram) ]
*global_es_histogram.pngHeat map of the top 50 features for each phenotype in the test.
Structure: [ val(meta), path(heatmap) ]
*heat_map_1.pngPlot showing FDR q-value by normalised enrichment score.
Structure: [ val(meta), path(pvalues_vs_nes_plot) ]
*pvalues_vs_nes_plot.pngRanked gene list correlation profile.
Structure: [ val(meta), path(ranked_list_corr) ]
*ranked_list_corr_2.pngButterfly plot with gene rank plotted against score.
Structure: [ val(meta), path(butterfly_plot) ]
*butterfly_plot.pngWhere -make_sets is not set to false, TSV files, one file for each gene set,
with detail on enrichment for each gene.
Structure: [ val(meta), [ path(gene_set_tsv) ] ]
gene_sets_*.tsvWhere -make_sets is not set to false, HTML files, one file for each gene set,
with detail on enrichment for each gene.
Structure: [ val(meta), [ path(gene_set_html) ] ]
gene_sets_*.htmlWhere -make_sets is not set to false, PNG-format heatmaps, one file for each
gene set, showing expression for each gene.
Structure: [ val(meta), [ path(gene_set_heatmap) ] ]
gene_sets_*.pngWhere -make_sets is not set to false, PNG-format enrichment (barcode) plots, one
file for each gene set, showing how genes contribute to enrichment.
Structure: [ val(meta), [ path(gene_set_enplot) ] ]
*enplot*.pngWhere -make_sets is not set to false, PNG-format enrichment score distribution
plots, one file for each gene set.
Structure: [ val(meta), [ path(gene_set_dist) ] ]
*gset_rnd_es_dist*.pngHTML files, one each for positive and negative enrichment, collecting elements
of gsea_gene_set_enplot.
Structure: [ val(meta), [ path(snapshot) ] ]
*_snapshot*.htmlWhere -zip_report is set, a zip archive containing all GSEA outputs.
Structure: [ val(meta), path(archive) ]
*.zipFile containing the parameter settings used by GSEA.
Structure: [ val(meta), path(rpt) ]
*.rptFiles containing the estimation results of the enrichment(s).
Structure: [ val(meta), path(estimate_files) ]
*estimate_decoupler.tsvFiles containing the p-values associated to the estimation results of the
enrichment(s).
Structure: [ val(meta), path(pvals_files) ]
*pvals_decoupler.tsvFiles containing the plots associated to the estimation results of the
enrichment(s).
Structure: [ val(meta), path(plot_files) ]
*estimate_decoupler_plot.png
