extract.equivalent_shifts function

Extract the shifts values for one trait.