randomWalkBySolve: project data on graph by solving the linear equation (I -...

View source: R/utilities.R

randomWalkBySolveR Documentation

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


sqjin/CellChat documentation built on Nov. 10, 2023, 4:29 a.m.