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

multi2dend

Translate multilevel segmentation into a dendrogram, with the lowest level of the dendrogram listing the cells


Description

Translate multilevel segmentation into a dendrogram, with the lowest level of the dendrogram listing the cells

Usage

multi2dend(cl, counts, deep = FALSE, dist = "cor")

Arguments

cl

igraph communities object, returned from igraph community detection functions

counts

dgCmatrix of counts

deep

boolean If TRUE, take (cl$memberships[1,]). Otherwise, uses as.integer(membership(cl)) (default=FALSE)

dist

Distance metric used (default='cor'). Eiether 'cor' for the correlation distance in log10 space, or 'JS' for the Jensen–Shannon distance metric (i.e. the square root of the Jensen–Shannon divergence)

Value

resulting dendrogram


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.