propagateLabels | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.