Create a suite of plots summarizing the effects of GATAI gene removal on phylotranscriptomic patterns.
plot_gatai_results(
phyex_set,
gatai_result,
conservation_test = stat_flatline_test,
runs_threshold = 0.5,
signature_plot_type = c("separate", "combined")
)A named list of ggplot/patchwork objects and results:
Signature plots before/after GATAI and top variance removal
Heatmap of GATAI-removed genes
Gene expression profiles of GATAI-removed genes
Faceted gene profiles by strata
Gene space plot of GATAI-removed genes
Mean-variance plot highlighting GATAI-removed genes
Phylostrata distribution plot (log obs/exp) for GATAI-removed genes
Null distribution plot with test statistics and p-values
GATAI convergence plots (if available)
A PhyloExpressionSet object containing the original gene expression data.
Result list from destroy_pattern(), containing GATAI analysis output.
Function for conservation test (default: stat_flatline_test).
Threshold for gene removal consistency across runs (default: 0.5).
Type of signature plot: "separate" for individual plots, "combined" for overlay (default: both options).
Filipa Martins Costa, Stefan Manolache
This function provides a comprehensive visualization of the impact of GATAI gene removal, including transcriptomic signature plots, gene expression profiles, heatmaps, mean-variance relationships, phylostrata distributions, conservation test comparisons, and convergence diagnostics.