Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

propagateLabels

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)

sccore

Core Utilities for Single-Cell RNA-Seq

v0.1.3
GPL-3
Authors
Viktor Petukhov [aut], Ramus Rydbirk [aut], Peter Kharchenko [aut], Evan Biederstedt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.