Go back to iPhylo

Layout:

Download Download csv

Content


                      

Plot

Info

Introduction

The iPhylo Visual is designed to facilitate the display, inspection, and annotation of phylogenetic, chemical classification trees and tree-based structures. This help page aims to provide a comprehensive introduction to the key features and workflow of our website. We kindly request that you contact us if you have any inquiries or require assistance.

Tree upload

To upload a tree, clicke the "Upload Tree" file input widget in the sidebar of the "Dashboard" page.

Trees should adhere to one of the following file formats: Newick, Nexus, PhyloXML, and Phylip. Please select the appropriate file format from the dropdown menu located next to the upload widget. Failure to select the correct file format may result in the tree not being loaded correctly.

Here are some examples of each supported file format:

  1. Newick tree
  2. Nexus tree
  3. Phyloxml tree
  4. Phylip tree

Dashboard interface overview

The dashboard page hosts the main annotation and display functions of iPhylo Visual. The user interface consists of several main components:

dashboard overview

Dashboard interface overview-1


dashboard overview

Dashboard interface overview-2

  1. Tree Display: The tree will be displayed in the main panel of the webpage in the form of a vector image. Click the plus (+) and minus (-) buttons on the display panel to zoom in and out of the tree visualization. Move and scroll the mouse cursor to move the visualization within the display panel.
  2. Refresh Plot: Once the user uploads a tree file, the GO button, which is used to refresh the graphical representation of the tree file, will become enabled. To ensure optimal performance, adjustments made to the display or annotation parameters will not immediately update the tree image. Instead, you need to click the "GO" button to refresh the image after modifying any settings.
  3. Download Plot: Click the JPEG, PNG or PDF download button to get the visualization in preferred formats.
  4. Download Session:Click the Session button to download the ".iphylo" project file, as detailed in the Session section.
  5. Upload Session: The session upload widget allows users to upload previously saved project files. Click the reload buttonto restore session data. You need to click the GO button to get the session visualization.
  6. Basic Controls: This is the basic control panel. iPhylo Visual's basic controls allow users to adjust the fundamental attributes of the tree display. Click the toggle button to collapse or expand the basic control section.
  7. Leaf Annotation: Use these controls to assign annotation to the external tree nodes. Click the toggle button to collapse or expand the Leaf Annotation section. Click the plus () and minus () buttons of Leaf Annotation to add or remove annotation tracks.
  8. Node Annotation: Use these controls to assign annotation to the internal tree nodes. Click the toggle button to collapse or expand the Node Annotation section. Click the plus () and minus () buttons of Node Annotation to add or remove annotation tracks.
  9. Legend Control: This control panel allows you to adjust the canvas size and legends for each annotation layer.

Inspection interface overview

The Inspection page allows users to explore the details of the tree structure and topology, as well as view the uploaded annotation files using an interactive online table.

inspection overview

Inspection interface overview

  1. Content Box: The Content Box displays the uploaded tree file in its original format. This component provides a convenient way to examine the raw tree data.
  2. Plot Box: The Plot Box visually represents the rectangular topology of the tree.
  3. Annotation Box: The Annotation Box presents user-uploaded annotation files in a tabular format. The Annotation Box supports pagination and search functionality, enabling users to navigate through large datasets and easily locate specific annotations of interest.
  4. Info Box: The Info Box displays information about the nodes. When users perform a selection by dragging the mouse cursor on the Plot Box, the Info Box updates to show details such as node labels, branch lengths, parent's ID and other additional information associated with the selected nodes.

Basic controls

layout overview

Supported layout

iPhylo Visual provides various layout options to display the tree in different styles. The available layout options include:

  1. circular (by default)
  2. inward circular
  3. daylight
  4. rectangular
  5. slanted
  6. ellipse
  7. roundrect

You can customize the basic display features of the tree within this section. The following features can be adjusted:

linetype overview shape picture missing……T.T

Line type and tip point shape

  • Color: Use the color picker widget to define the color of all tree branches.
  • Line options: Change the branch line type and width. Line type options are shown in the figure.
  • Branch options: Select if the tree has branch length and set the branch start position. The branch start position feature creates blank space, enabling users to add additional content or annotations according to their specific needs.
  • Rotation and Opening: For circular layouts, users can further customize the circular ring opening angle and rotation angle to achieve the desired circular representation.

Annotation Capability

iPhylo Visual simplifies the annotation process by allowing you to upload one single file that contains all the necessary annotation information. This file is in spreadsheet form, making users easy to understand and edit.

The columns in the table are expected to contain all the attributes of the tree nodes that you wish to annotate.

Note: The first column name must be "id", and the values in this column should correspond to the node name in the tree file. Failure to adhere to this format may result in mapping errors. This document provides example files for reference.

annotation mapping

Annotation capability

The attributes of the nodes are automatically synchronized and updated in each dropdown menu. Users can map the tree's display characteristics to node attributes. For example, in example session, selecting "Location" from the color dropdown menu will categorize the nodes based on their Location values and assign different colors accordingly.

This consolidated approach streamlines the annotation process and enables efficient management of all annotation data in one place. Please refer to the provided example files and ensure that your annotation files follow the specified format for successful mapping and visualization.

Leaf annotation

leaf annotation types

Leaf annotation

By utilizing leaf annotation, you can assign various graphical elements such as tile, bar, box, violin, tip point, and tip label to the corresponding leaf nodes. Here are the available options:

  1. Tile: Represents each leaf node with a rectangular tile.
  2. Bar: Displays each leaf node as a vertical bar.
  3. Box: Assigns a box shape to each leaf node.
  4. Violin: Assigns a violin shape to each leaf node.
  5. Tip Point: Represents each leaf node with a distinct point. Different supported shapes are shown in the right figure.
  6. Tip Label: Enables the display of original or customized labels for each leaf node.

Node annotation

By utilizing node annotation, you can assign various visual attributes to specific clades. This includes the assignment of strip, clade branch color, and background color. Here are the available options:

node annotation types

Node annotation

  1. Strip: Assigns strips with text labels to specific clades.
  2. Color branch: Allows customization of the color of clade branches.
  3. Highlight: Displays a background box behind branches. You can choose whether the background box is set at the bottom of all layers.

Manual option

The "manual" input option gives you the flexibility to define the desired range for a specific parameter. For example, when configuring the color range, you can input specific color values or define a custom color gradient that aligns with your preferences.

Canvas and Legend

Using the Legend panel allows you to adjust the size and position of the canvas and legend, which is helpful when the phylogenetic tree and annotation legend are too large or when there are too many legends to display all the information.

When drawing phylogenetic trees with many branches, it is recommended to appropriately increase the canvas width and canvas height.

Canvas and Legend Overview

Canvas and Legend Overview

  1. Canvas Width:
    • Description: Determines the width of the entire canvas or plotting area where the visualization will be displayed.
    • Usage: Adjust this parameter to control the horizontal size of the entire visualization canvas.
  2. Canvas Height:
    • Description: Specifies the height of the canvas or plotting area.
    • Usage: Use this parameter to control the vertical size of the entire visualization canvas.
  3. Legend X Position:
    • Description: Sets the horizontal position of the legend within the canvas.
    • Usage: Adjust this parameter to move the legend horizontally, helping to optimize its placement.
  4. Legend Y Position:
    • Description: Determines the vertical position of the legend within the canvas.
    • Usage: Use this parameter to control the vertical placement of the legend in relation to the canvas.
  5. Legend Scale:
    • Description: Defines the scale or size of the legend.
    • Usage: Adjust this parameter to control the overall size of the legend, making it more prominent or compact.
  6. Legend Direction:
    • Description: Specifies the orientation or direction of the legend, whether it is horizontal or vertical.
    • Usage: Use this parameter to choose the orientation that best fits your visualization layout.

These parameters provide control over the overall canvas dimensions, legend placement, size, and orientation, allowing users to customize the appearance of their visualizations to suit their needs.

Session

iPhylo Visual offers a session saving feature that allows you to save your work at any point during the annotation process. Simply click the Save Session button to save your data and selected options for the current page.

To restore your work and retrieve your saved data, you can use the Upload Session component to upload the session file with the ".iphylo" extension.

Thank you for choosing iPhylo Visual for your phylogenetic tree visualization and annotation needs.

Example files

Phylo-Tree Linker Example

Title Tree #1 Tree #2 Edge link Tree #1 highlight Tree #2 highlight Session Download Zip

Correlation Tree

corr_tr1.txt corr_tr2.txt corr_edge.csv corr_tr1_highlight.csv corr_tr2_highlight.csv corr.iphylo

Abundance Tree

abun_tr1.txt abun_tr2.txt abun_edge.csv abun_tr1_highlight.csv abun_tr2_highlight.csv abun.iphylo