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

hjunwoo/ccfindR documentation built on Oct. 4, 2019, 10:31 a.m.