Open AndresZT opened 8 months ago
Hi again! Sure, it should be easy! You basically need to copy the value of the Length
attribute into another attribute, before using the Transform lengths module.
Since Length
is a numeric attribute, the easiest way to do this is by using the Linear transformation module. You can enable this module in the Further transformations, and leave the Scaling factor
set to 1
and the Translation factor
to 0
(i.e., so that it just copies the value without altering it). Then, change the Replacement attribute
to something different, e.g. OriginalLength
. Afterwards, you can enable the Transform lengths module, making sure that in the list of modules it appears below the Linear transformation (you can drag the modules around to rearrange them):
Finally, just choose the OriginalLength
attribute in the Labels module.
Hi I am using treeviewer as an alternative to more traditional tree visualisers because of the posibility of manually editing branch and label colors (Issue #24) . However now I am facing the following problems with the branch lenghts
I wanto display my gene tree as cladogram, for which I apply the module 'Transform lengths' > 'cladogram'. However I would like to keep my original lenght values as label, as they indicate the substitutions per site. Something similar to the attached geneious tree. Is there a work around for this?
Thanks