tidyr transformation of data from paired to unpaired.