phyC.plot: Plot trees in clusters

Description Usage Arguments Author(s) Examples

Description

Plot trees in clusters

Usage

1
phyC.plot(obj, color = NULL, label = NULL, type = "unrooted")

Arguments

obj

Object resulted from phyC.

color

Vector of color parameter of each cluster in the plot.

label

Vector of labels of trees. Default is "Tree i"(i=1,2,...).

type

Type of tree to be plotted. It must be one of "unrooted"(the default), "phylogram", "cladogram", "fan", "radial".

Author(s)

Yusuke Matsui & Teppei Shimamura

Examples

1
2
3
4
5
6
7
8
library(phyC)
data(ccRCC)
vaf <- lapply(vaf,function(x)x[,-(1:3)])
trees <- par.tree(vaf)
edgeList <- lapply(trees,function(x)x$edge)
edgeLenList <- lapply(trees,function(x)x$edge.length)
res <- phyC(edgeList,edgeLenList,cluster = 3,type = "h",method = "ward")
phyC.plot(res)

ymatts/phyC documentation built on May 4, 2019, 5:31 p.m.