canopy.output: To generate a posterior tree

Description Usage Arguments Value Author(s) Examples

Description

To generate a posterior tree from the sub-tree space of trees with the same configurations.

Usage

1
canopy.output(post, config.i, C)

Arguments

post

list returned by canopy.post

config.i

configuration of sub-tree space to be output

C

CNA and CNA-region overlapping matrix, only needed if overlapping CNAs are used as input

Value

posterior tree from the sub-tree space of trees with the same configurations.

Author(s)

Yuchao Jiang yuchaoj@wharton.upenn.edu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data(MDA231_sampchain)
data(MDA231)
sampchain = MDA231_sampchain
projectname = 'MD231'
K = 3:6
numchain = 20
burnin = 150
thin = 5
optK = 4
C = MDA231$C
post = canopy.post(sampchain = sampchain, projectname = projectname, K = K,
                   numchain = numchain, burnin = burnin, thin = thin, 
                   optK = optK, C = C)
config.i = 3
output.tree = canopy.output(post = post, config.i = config.i, C = C)

Canopy documentation built on May 1, 2019, 7:59 p.m.