R: Estimate labeling distribution for each vertex, based on...

propagateLabels {sccore} | R Documentation

## Estimate labeling distribution for each vertex, based on provided labels.

### Description

Estimate labeling distribution for each vertex, based on provided labels.

### Usage

    propagateLabels(graph, labels, method = "diffusion", ...)

### Arguments

`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()

### Value

matrix with distribution of label probabilities for each vertex by rows.

### Examples

    propagateLabels(conosGraph, labels=cellAnnotations)

[Package sccore version 1.0.1 Index]