# Define example tree set
graphs <- ExampleTrees[1:10]
# Violin plots of node outdegree by sample
plotSubtrees(graphs, "sample_id", "out", style="v")
# Violin plots of subtree size by sample
plotSubtrees(graphs, "sample_id", "size", style="v")
# Boxplot of node depth by isotype
plotSubtrees(graphs, "c_call", "depth", style="b")
Run the code above in your browser using DataLab