Generalizing phylogenetics to infer patterns predicted by processes of diversification