Hi Jeff,
I wouldn't recommend a phylogenetically corrected t-test. Instead, I've adapted some HyPhy code that will set up a model where each branch is a random-effects mixture of 3 categories: two <=1 and one >1. You are able to divide the branches up into foreground, background, and other, by tagging the relevant branches in the phylogeny with {FG} or {BG} tags. "Other" branches do not need explicit tags, and are not included in any comparisons, but they do get their own set of parameters so they don't interfere with the BG/FG comparisons. An LRT compares FG to BG branches for differences in their selection parameters (the three omegas and two weights) where the null assumes they share all parameters, and the alt lets their parameters differ. Note that *any* differences in selection parameters will be identified (the big omega may increase while the small one decreases, so, even though the mean omega stays constant, a difference will be identified.)
You can find the code and example files here: Multimedia File Viewing and Clickable Links are available for Registered Members only!! You need to
The bundled example is based on the rhodopsin dataset (It is quite slow - sorry!), comparing deep sea fish against surface animals, with the connecting branch untagged. The most convenient tree tagging strategy I've found is to color the branches in figtree (see coloredTree.nex), then find-and-replace color tags with {FG} or {BG}, and save the newick portion of the tree (see miniRhod.tre). The method had the preliminary acronym "AWEDIEBL", but I forgot what it stands for.
Let me know if you have any problems with it!
Ben Murrell