HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> BranchLength between terminals http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1171984341 Message started by wayne on Feb 20th, 2007 at 7:12am |
Title: BranchLength between terminals Post by wayne on Feb 20th, 2007 at 7:12am
Hi Sergei, I'm trying to get a branch length between two terminals using
Code (]brLength = BranchLength ( FixTree, "CHB104EN, CHB104" );[/code):
where PairData is defined as [code]PairData = { { "CHB1EN", "CHB1"}{ "CHB104EN", "CHB104"}{ "CHB106EN", "CHB106"}{ "CHB107EN", "CHB107"}{ "CHB108EN", "CHB108"} }[/code]I've tried both "," and ";" separated taxa, yet both return -1. Any help/suggestions would be much appreciated. thanks ./w |
Title: Re: BranchLength between terminals Post by Sergei on Feb 20th, 2007 at 7:45am
Dear Wayne,
The correct syntax is [code] BranchLength(tree,"taxon 1;taxon 2") [/code] Make sure there are no extra spaces between ';' and the second taxon and keep in mind that the names are case sensitive. Cheers, Sergei |
Title: Re: BranchLength between terminals Post by wayne on Feb 20th, 2007 at 9:40am
Hi Sergei, thanks, a space was the problem. regards ./w
|
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |