View source: R/sunburst_function.r
sunburst | R Documentation |
This group of Lineage Figure functions produce figures to assist in interpretation of lineage data.
sunburst(lineage_info, node_data, tree, metadata, sequence_data)
lineage_info |
The output of the lineage_info function |
node_data |
The output of the node_info function |
tree |
A phylogenetic tree |
metadata |
The metadata corresponding to the sequences in the tree, including "ID" "assignment" "country" and "year" |
sequence_data |
The output of the seq_designation function |
This function produces a sunburst plot to visualise the hierarchical relationship of the lineages. The outputs of the seq_designation, node_info and lineage_info functions are required, along with the phylogenetic tree and corresponding metadata file used as input for the sequence data, node info and lineage information.
A sunburst plot showing the hierarchal relationship of the lineages
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.