# Define example tree set
graphs <- ExampleTrees[1-10]
# Plot violins of outdegree by sample
plotSubtrees(graphs, "SAMPLE", "out", main_title="Node outdegree",
style="v")
# Plot violins of subtree by sample
plotSubtrees(graphs, "SAMPLE", "size", style="v")
# Plot boxplot of pathlength by isotype
plotSubtrees(graphs, "ISOTYPE", "path", colors=IG_COLORS,
legend_title="Isotype", style="b")
# Plot boxplot of depth by isotype
plotSubtrees(graphs, "ISOTYPE", "depth", style="b")
Run the code above in your browser using DataLab