Skip to content

Commit

Permalink
Removed check for previous row being NA in while (j <= SNP_length) loop
Browse files Browse the repository at this point in the history
Removed:`if(is.na(SNP_record$removed[(j-1))) {
    break
  }`because don't see how this could be useful and caused #8
  • Loading branch information
laninsky committed Sep 10, 2019
1 parent 563b93c commit 09c2501
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions GBS_SNP_filter_rsq.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ while (j <= SNP_length) {
SNP_length <- dim(SNP_record)[1]
if (SNP_length==1) {
break
}
if(is.na(SNP_record[(j-1),8])) {
break
}
}

Expand Down

0 comments on commit 09c2501

Please sign in to comment.