cocoatree.visualization.add_xcor_sequences_to_tree¶
- cocoatree.visualization.add_xcor_sequences_to_tree(tree_style, tree_ete3, xcor_id, xcor_seq, column_start=0)[source]¶
Add XCoR sequence to ETE3’s tree style
Parameters¶
tree_style : ETE3’s tree_style object
- tree_ete3ete3’s tree object,
as imported by io.load_tree_ete3()
- xcor_idlist of XCoR sequence identifiers, as imported by io.load_msa()
the ids must match with the tree’s leaves id
- xcor_seqcorresponding list of XCoR sequences to display,
as imported by io.load_msa()
- column_startint, optional, default0
the column on which to start plotting
Returns¶
tree_style : TreeStyle class from ete3
- column_endint, the number of columns after the tree. If you want to
plot anything else alongside the tree, the column number should be equal to this value.