liana_heatmap | R Documentation |
Communication by cell type Heatmap
liana_heatmap(
mat,
font_size = 12,
grid_text = FALSE,
name = "Frequency",
pallette = c("white", "violetred2"),
row_title = "Sender (Cell types)",
column_title = "Receiver (Cell types)",
...
)
mat |
Diagonal celltype-celltype matrix to be plotted. In theory, any metric deemed meaningful between cell pairs can be plotted. |
font_size |
base font_size - other fontsizes are relative to this one |
grid_text |
logical whether to display grid text or not |
name |
name of the heatmap. By default the heatmap name is used as the title of the heatmap legend. |
row_title |
Row tittle |
column_title |
Column tittle |
... |
parameters passed to 'ComplexHeatmap::Heatmap' |
Heatmap function inspired by CellPhoneDBv3 and CellChat's designs on communication heatmaps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.