You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encapsulate the mapping between PhasedGenotypeState and NucleotideState, and using the API method to replace the follow code in loops, such as int[] getNucIndex(int phasedGTInd) and PhasedGenotypeState getPhasedGenotypeState(NucleotideState parent1st, NucleotideState parent2nd)
for (inti = 0; i < numStates; i++) {
intfromParent1State = i / 4;
intfromParent2State = i % 4;
for (intj = i + 1; j < numStates; j++) {
inttoParent1State = j / 4;
inttoParent2State = j % 4;
...
The text was updated successfully, but these errors were encountered:
Encapsulate the mapping between PhasedGenotypeState and NucleotideState, and using the API method to replace the follow code in loops, such as
int[] getNucIndex(int phasedGTInd)
andPhasedGenotypeState getPhasedGenotypeState(NucleotideState parent1st, NucleotideState parent2nd)
The text was updated successfully, but these errors were encountered: