plotInteractionMatrix2: Plot inferred cell-cell interaction network.

View source: R/plotInteraction_CellComm.R

plotInteractionMatrix2R Documentation

Plot inferred cell-cell interaction network.

Description

Plot the heatmap of the inferred cell-cell interaction network and return it. The interaction data frame has cells of the first type as rows and cells of the second type as columns, the values are the number of unique interactions between the cell type pairs.

Usage

plotInteractionMatrix2(graph)

Arguments

graph

list; the graph and the pairs as generated by the cellnetwork3 function.

Value

list; the data frame which the rows are the cells of first type, while the columns are the cells of the second type, and the plot. The values of the data frame are the number of unique interactions between the pairs.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.