Creates a series of plots visualizing the diffusion process of a gene's expression over time on a given graph.
VisualizeDiffusion(
coord,
init_state,
P_ls = NULL,
W = NULL,
check_time = NULL,
gene_name = NULL,
gene_color = "blue"
)
matrix; 2D coordinates of cells for visualization.
matrix; row-wise normalized expression matrix for the initial state.
list; list of diffusion operators.
matrix; symmetric affinity matrix of the graph.
vector; time points selected for visualization, e.g., c(2, 16, 128)
.
character; the name of the gene for visualization.
character; the color of expression level for visualization. Default is "blue".
A ggplot2 object representing a series of plots visualizing the diffusion process.