Learn R Programming

STraTUS (version 1.1.2)

draw.fully.sampled: For a sample with no unsampled hosts, draw the annotated phylogeny using ggtree

Description

For a sample with no unsampled hosts, draw the annotated phylogeny using ggtree

Usage

draw.fully.sampled(generator, sample)

Arguments

generator

A list of class tt.generator produced by tt.generator.

sample

A list of class tt produced by sample.tt or sample.partial.tt

Value

A ggtree object

Examples

Run this code
# NOT RUN {
generator <- tt.generator(stratus.example.tree)
samples <- sample.tt(generator, 1)
draw.fully.sampled(generator, samples[[1]])
# }

Run the code above in your browser using DataLab