In order identify breakpoints, I use a list of p-values that corresponds to each window position and only p-values below the threshold are added to this list. I later use this indices of the p-values to output the coordinates. But since the length of the list does not correspond to the number of polymorphic sites, the coordinates are incorrect.
In order identify breakpoints, I use a list of p-values that corresponds to each window position and only p-values below the threshold are added to this list. I later use this indices of the p-values to output the coordinates. But since the length of the list does not correspond to the number of polymorphic sites, the coordinates are incorrect.