walkCells: Run CellWalker Method

View source: R/DataParsingFunctions.R

walkCellsR Documentation

Run CellWalker Method

Description

walkCells applies the CellWalker method to the given cell-to-cell and cell-to-label edges.

Usage

walkCells(
  cellEdges,
  labelEdgesList,
  labelEdgeWeights,
  sampleDepth,
  steps,
  tensorflow = FALSE
)

Arguments

cellEdges

matrix of cell-to-cell similarity (c-by-c)

labelEdgesList

list of cell-to-label similarity matrices each with dimensions c-by-l

labelEdgeWeights

vector of weights to test for label edges

sampleDepth

depth to subsample cells to for faster calculation

steps

integer indicating number of steps to take if walk should not be run to convergence

tensorflow

boolean to indicate whether to compute on GPU

Value

cellWalk object with influence matrix and labels

Examples

data("SampleCellWalkRData")
labelEdgesList <- list(SampleCellWalkRData$labelEdges)
cellWalk <- walkCells(SampleCellWalkRData$cellEdges, labelEdgesList, 1)


PFPrzytycki/CellWalkR documentation built on Oct. 26, 2023, 1:50 p.m.