Skip to content

Quick start

Add new tree to project

New project can be created by uploading the tree either after signing in or by using the try me option. After sign in, you can just drag and drop the file to the canvas window,which then shows a window with options for creating a project for the tree file uploaded. For more information you can check the : Tree upload

Change the branch color and stroke

In the following example,we'll add several datasets to change the appearances of the tree.You can select Example tree from tree upload box to test this example. Use "Sample tree 1" , let's use the same tree again:

Sample tree:

(chicken,((mouse,rat),(chimp,human)));
  • To Change the branch color:
1
2
3
4
5
6
7
8
## lines start with # are annotations; you can put an annotation line
##   anywhere in this dataset, provided that the # is the first character
##   of the line
## let the dataset begin: all fields of a line are seperated by 'tab'
## first all, color all branches with 'grey'
human,chicken	grey	ad
## and then highlight the branches connecting human and chimp
human,chimp	red	ad
  • To change the branch stroke type:
1
2
human,chimp	red	ad	dash:8,3
chicken	green

Change the leaf colors and background

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## let the dataset begin
##   each line of the 'data part' consists three fields sparated by a 'tab' character
##   the first field specifies the location on the tree; for example 'human' indicates
##     the leaf node representing 'human' or the branch connecting to this leaf node,
##     while 'human,mouse' indicates the internal node representing the
##     last common ancester (LCA) of human and mouse
##   the second field specifies the color to be applied to the corresponding nodes / branches
##   the third field is optional; it can be one the following 'key-words':
##     ad: the color will be applied to all decendents of the node specified by the first field
##     prefix: the color will be applied to all leaf nodes (or connecting branches) whose names
##       start with the string in the first field
##     suffix: the color will be applied to all leaf nodes (or connecting branches) whose names
##       end with the string in the first field
##     anywhere: the color will be applied to all leaf nodes (or connecting branches) whose names
##       contain the string in the first field
## first all, color all leaves to 'grey'
human,chicken	grey	ad
## then, highlight human and chimp with 'red'
human,chimp	red	ad

Add bar plots to the tree (next to the leaf labels)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##barplots
!groups	a,b,c
!colors	darkblue,darkgreen,darkred
!showlegends	0
!plotwidth	100
!align
!grid
chicken	2,3,1
mouse	8,9,2
human	20,3,4
chimp	10,20,1
rat	4,6,5

Add colored objects/ shapes to the tree (next to the leaf labels)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##color strips
!groups	a,b,c,d
!colors	blue,green,grey,red
!type	rect,circle,star,strip
!showlegends	1
human	red,green,blue,purple
chimp	purple,darkred,lightgreen,lightblue
mouse	lightblue,yellow
chicken	darkgreen,grey,pink,grey
rat	grey,orange,pink,orange

Add colored objects/shapes to the branch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
##mandatory property
!groups	bad,good
##mandatory property
!colors	red,green

!groups_class	id=T1,bkcolor=red,color=black,shape=star,width=20,height=20
!groups_class	id=T2,bkcolor=green,color=black,shape=circle,width=20,height=20
!groups_class	id=T3,bkcolor=red,color=black,shape=cross,width=20,height=20
!groups_class	id=T4,bkcolor=green,color=black,shape=check,width=15,height=15

A	T4
B	T3
C	T1
D	T2

Show/Hide bootstrap using annotation,branch length values

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## with legend;
!Title	bootstrap
!Groups	<=40,41~80,81~100
!Colors	grey,gold,red
!LegendStyle	circle

!bootstrapValueStyle	show=1,style=circle
40	color=darkgrey
41,80	color=gold
81,100	color=red

Embed tree in other websites

To embed tree in other websites,

  1. Select share icon from the tool bar
  2. In the share options window,select the embed option
  3. Embed option generates a url , please copy the url.
  4. To ember Evolview trees, you can use the Iframe HTML tag ,

Here is an example that shows one of the demo trees from Evolview:

1
2
<iframe src="http://js.evolgenius.info/embed/t046BQUavNl" width="100%" height="300" style="border:none;">
</iframe>

To know more about share options,kindly check the Share trees

Auto generate annotation templates for tree

From Evolview version 4, we provide a new auto template generate functionality for any tree, which would help user to test and try different visulizations. To generate template for a datset,

  1. Go to the Import tab on the tool bar.
  2. Select any one of the import dataset option from the tool bar.
  3. A import window pops up with many options, click the Generate template button from the import window.
  4. Datasets for the current tree is auto generated on the text box shown on the window. Now you can make changes as your wish or upload the dataset to view the annotations.

To know more about share options,kindly check the Auto generate annotations