This is an internal function to run a single pairscan It is used both to do the actual pairscan (pairscan_kin and pairscan_noKin), as well as to do the permutations of the pairscan pairscan_null).
pairscan_kin
pairscan_noKin
pairscan_null
Useful links