obs_apply function

Apply function to observations per taxon