Learn R Programming

CellChat (version 1.0.0)

randomWalkBySolve: project data on graph by solving the linear equation (I - alpha*A) * E_sm = E * (1-alpha)

Description

project data on graph by solving the linear equation (I - alpha*A) * E_sm = E * (1-alpha)

Usage

randomWalkBySolve(E, A, alpha, normalizeAjdMatrix = c("rows", "columns"))

Arguments

E

initial data matrix [NxM]

A

adjacency matrix of graph to network project on will be column-normalized.

alpha

projecting coefficient (1 - restart probability of random walk)

Value

network-projected gene expression