Learn R Programming

Canopy (version 1.0.0)

canopy.plottree: To plot tree inferred by Canopy

Description

To plot Canopy's reconstructed phylogeny. Major plotting function of Canopy.

Usage

canopy.plottree(tree,pdf,pdf.name)

Arguments

tree
input tree to be plotted
pdf
whether a pdf plot should be generated, default to be TRUE
pdf.name
name of pdf to be generated, has to be provided if pdf is to be generated

Value

Plot of tree structure, clonal frequency and mutation legends (pdf format).

Examples

Run this code
data(MDA231_tree)
pdf.name = 'MDA231_tree.pdf'
canopy.plottree(MDA231_tree, pdf = TRUE, pdf.name = pdf.name)

Run the code above in your browser using DataLab