plotPhylo | R Documentation |
Plots a phylogenetic tree.
plotPhylo(
scCNA,
label = NULL,
label_colors = NULL,
consensus = FALSE,
group = NULL
)
scCNA |
scCNA object. |
label |
A string with the element of
|
label_colors |
A named list with colors for the label annotation. Must match label length |
consensus |
A boolean indicating if the consensus phylogenetic tree should be plotted. |
group |
A string that if provided will plot the tip labels as pie charts
with the proportions from the provided element from
|
A ggplot object with a phylogenetic tree visualization.
Junke Wang
set.seed(1000)
copykit_obj <- copykit_example_filtered()[,sample(100)]
copykit_obj <- findClusters(copykit_obj)
copykit_obj <- runPhylo(copykit_obj)
plotPhylo(copykit_obj, label = "subclones")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.