search by environmental variable for phylogenies