Spatial and Phylogenetic Analysis of Community Diversity