build_tree {ccfindR} | R Documentation

## Build tree connecting clusters at different ranks

### Description

Build tree connecting clusters at different ranks

### Usage

    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

    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

[Package ccfindR version 1.4.2 Index]