Estimate labeling distribution for each vertex, based on provided labels.
Estimate labeling distribution for each vertex, based on provided labels.
propagateLabels(graph, labels, method = "diffusion", ...)
graph |
igraph graph object |
labels |
vector of factor or character labels, named by cell names, used in propagateLabelsSolver() and propagateLabelsDiffusion() |
method |
string Type of propagation. Either 'diffusion' or 'solver'. (default='diffusion') 'solver' gives better result but has bad asymptotics, so it is inappropriate for datasets > 20k cells. |
... |
additional arguments passed to either propagateLabelsSolver() or propagateLabelsDiffusion() |
matrix with distribution of label probabilities for each vertex by rows.
propagateLabels(conosGraph, labels=cellAnnotations)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.