comp_ply function

Calculate custom compositional measures on an egor object