Function to plot phylogenetic trees obtained from VDJ_phylogenetic_trees
!Requires the ggtree package to be loaded! Plots trees from function VDJ_phylogenetic_trees
VDJ_phylogenetic_trees_plot(
tree.dfs,
color.by,
size.by,
shape.by,
specific.leaf.colors,
specific.leaf.shapes
)
nested list of tidytree dataframes obtained from VDJ_phylogenetic_trees with output.format='tree.df.list'. tree.dfs[[1]][[2]] represent a tree dataframe for the first sample, second clonotype.
string - VDJ or tree df column name which will be used to color the tree nodes.
string or NULL - VDJ or tree df column name which determines the node size. If NULL, node sizes will be equal.
string or NULL - VDJ or tree df column name which determines the node shape. If NULL, node sizes will be equal.
named list or NULL - if NULL, colors will be automatically selected for each node according to its color.by value.
named list or NULL - if NULL, shapes will be automatically selected for each node according to its shape.by value.
nested list of ggtree plot objects for each sample and each clonotype.
if (FALSE) {
VDJ_phylogenetic_trees_plot(tree.dfs,color.by='clonotype_id', size.by='sequence_frequency')
}