View source: R/DataParsingFunctions.R
walkCells | R Documentation |
walkCells
applies the CellWalker method to the given cell-to-cell and
cell-to-label edges.
walkCells(
cellEdges,
labelEdgesList,
labelEdgeWeights,
sampleDepth,
steps,
tensorflow = FALSE
)
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 |
cellWalk object with influence matrix and labels
data("SampleCellWalkRData")
labelEdgesList <- list(SampleCellWalkRData$labelEdges)
cellWalk <- walkCells(SampleCellWalkRData$cellEdges, labelEdgesList, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.