build_tree: Build tree connecting clusters at different ranks

Description Usage Arguments Value Examples

View source: R/tree.R

Description

Build tree connecting clusters at different ranks

Usage

1
build_tree(object, rmax)

Arguments

object

Object of class scNMFSet

rmax

Maximum rank at which tree branching stops

Value

List containing the tree structure

Examples

1
2
3
4
5
6
set.seed(1)
x <- simulate_whx(nrow=50,ncol=100,rank=5)
s <- scNMFSet(x$x)
s <- vb_factorize(s,ranks=seq(2,8),nrun=5)
tree <- build_tree(s,rmax=5)
tree

ccfindR documentation built on Nov. 8, 2020, 5:12 p.m.