newick: Generate Newick format tree string from tree list object

Description Usage Arguments Value Examples

View source: R/tree.R

Description

Generate Newick format tree string from tree list object

Usage

1
newick(tree, parent = "1.1", string = "")

Arguments

tree

Tree list object from build_tree

parent

Parent ID

string

Newick string of parent tree

Value

String of newick tree

Examples

1
2
3
4
5
6
7
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)
nw <- newick(tree=tree)
nw

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