Currently, sampletree supports the sampling methods random, oldest and youngest. I suggest to add shortest (sampling the shortest branch lengths) and longest (sampling the longest branch lengths), as this would provide for consistently shorter and longer branch lengths.
Problem
Imagine being interested in the effect of branch length distributions due to sampling. The two simplest and just as likely scenarios in which sampling has an effect are P1=(A1, (B, A2)); and P2=(A1, B), A2));. For P1, sampling youngest results in shorter branch lengths, where for P2 this results in longer branch lengths.
See below for a detailed example.
Currently,
sampletreesupports the sampling methodsrandom,oldestandyoungest. I suggest to addshortest(sampling the shortest branch lengths) andlongest(sampling the longest branch lengths), as this would provide for consistently shorter and longer branch lengths.Problem
Imagine being interested in the effect of branch length distributions due to sampling. The two simplest and just as likely scenarios in which sampling has an effect are
P1=(A1, (B, A2));andP2=(A1, B), A2));. For P1, samplingyoungestresults in shorter branch lengths, where for P2 this results in longer branch lengths.See below for a detailed example.