Labeling phylogenies is critical for branch-level analyses such as RELAX and BUSTED. These instructions detail the most basic usage of the phylotree.js widget's branch labeling functionality.
- Upload your phylogeny.
- Click the
Newickdropdown menu at the top left of the site and choose your newick-formatted phylogeny to upload. Once uploaded, the phylogeny will load in the widget for labeling and/or manipulation.
- Click the
- In the text box next to the
Tagdropdown menu, create all of your labels before selecting/highlighting any branches.- By default, the first label will always be named Foreground. This can be renamed with
Tag->Rename selection setas desired. Be sure to clickSavewhen finished renaming! - To additional more labels, click
Tag->New selection set. Each new selection set will be named, by default, new_selection_name. You can change this name now by directly typing the new name into the text field next to theTagbutton. Again, clickSavewhen finished renaming.
- By default, the first label will always be named Foreground. This can be renamed with
-
After all labels have been created, they will be visible in differently-colored text under the
Tagdropdown menu. To select branches for a label, follow these steps:- Click the label of interest in the
Tagdropdown menu. The name of your chosen label will now be shown in the text box to the right ofTag. - Highlight and select any branches for this label.
- When finished, navigate back to
Tagto select the next label of interest, and select branches accordingly. Proceed until all selections are complete.
- Click the label of interest in the
-
Export your labeled phylogeny by clicking the
Newickdropdown menu and thenExport. A text box with your labeled newick tree will appear. Copy and paste this newick tree as needed.