add proportions table to abundance function