| Class | Analysis and data manipulation command |
| Name | swap |
| Arguments | <marker> [to <marker2> ] [...<markerN>]. |
Recode diallelic marker alleles to each other ie "[12]" -> "[21]".
Example:
>> wri 1 1 x x m A/G 1 2 x x f G/G 1 3 1 2 m A/G >> swap $m Swapping alleles A and G at "m2". >> wri 1 1 x x m A/G 1 2 x x f A/A 1 3 1 2 m A/G
| << (combine) | Up to index | >> (flip) |