plot_cpdb_heatmap.Rd
Plotting CellPhoneDB results as a heatmap
plot_cpdb_heatmap(
pvals,
cell_types = NULL,
degs_analysis = FALSE,
log1p_transform = FALSE,
show_rownames = TRUE,
show_colnames = TRUE,
scale = "none",
cluster_cols = TRUE,
cluster_rows = TRUE,
border_color = "white",
fontsize_row = 11,
fontsize_col = 11,
family = "Arial",
main = "",
treeheight_col = 0,
treeheight_row = 0,
low_col = "dodgerblue4",
mid_col = "peachpuff",
high_col = "deeppink4",
alpha = 0.05,
return_tables = FALSE,
symmetrical = TRUE,
default_sep = "\\|",
...
)
Dataframe corresponding to `pvalues.txt` or `relevant_interactions.txt` from CellPhoneDB.
vector of cell types to plot. If NULL, all cell types will be plotted.
Whether `CellPhoneDB` was run in `deg_analysis` mode
Whether to log1p transform the output.
whether to show row names.
whether to show column names.
scaling mode for pheatmap.
whether to cluster columns.
whether to cluster rows.
border color.
row font size.
column font size.
font family.
plot title.
height of column dendrogram.
height of row dendrogram.
low colour for heatmap.
middle colour for heatmap.
high colour for heatmap.
pvalue threshold to trim.
whether or not to return the results as a table rather than the heatmap
whether or not to return as symmetrical matrix
the default separator used when CellPhoneDB was run.
passed to pheatmap::pheatmap.
pheatmap object of cellphone db output