some simple functions for studying community assembly with phylogenetic trees