- SpaCCI_Result_List
A list containing the results from a SpaCCI "regional" or "global" analysis. This list should include pvalue_df, which are the outputs from run_SpaCCI(..., analysis_scale = "regional",...) or run_SpaCCI(..., analysis_scale = "global",...).
- specific_celltypes
A vector of cell types to include in the heatmap, i.e c("Celltype_A","Celltype_B"). NOTE: the cell type names should match the names input in the SpaCCI analysis.
- pathways
A vector of pathways to filter the interactions. Initially set to NULL, if not, then it will aggregate the results of the selected pathways.
- interaction
A vector of interactions to filter. Initially set to NULL, if not, then it will aggregate the results of the selected interactions.
- log1p_transform
Logical; whether to apply a log(1 + x) transformation to the count matrix.
- show_rownames
Logical; whether to show row names in the heatmap.
- show_colnames
Logical; whether to show column names in the heatmap.
- scale
Character; whether to scale the data ("row", "column", "none").
- cluster_cols
Logical; whether to cluster columns.
- cluster_rows
Logical; whether to cluster rows.
- border_color
Character; color of the heatmap borders.
- fontsize_row
Numeric; font size for row names.
- fontsize_col
Numeric; font size for column names.
- family
Character; font family for text in the heatmap.
- main
Character; title of the heatmap.
- treeheight_col
Numeric; height of the column dendrogram.
- treeheight_row
Numeric; height of the row dendrogram.
- low_col
Character; color for low values in the heatmap.
- mid_col
Character; color for mid values in the heatmap.
- high_col
Character; color for high values in the heatmap.
- alpha
Numeric; significance threshold for p-values, initailly set to 0.05.
- return_tables
Logical; whether to return the count matrix and summary tables.
- symmetrical
Logical; whether to make the heatmap symmetrical.
- ...
Additional arguments passed to `pheatmap`.