Skip to content

Commit

Permalink
Merge pull request #6 from kammerer/fix-error
Browse files Browse the repository at this point in the history
Fix error handling using non-existent error function
  • Loading branch information
aliceminotto authored Jul 10, 2017
2 parents cf2f9d2 + 4b34a34 commit d7fe54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GWASSER.R
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ if(!interactive()){
warning("The number of rows following merge of map and p values is less. Are some markers not mapped or named inconsistently?")
}
if(nrow(plotTab) == 0){
error("The number of rows following merge of map and p values is 0. This should not happen.")
stop("The number of rows following merge of map and p values is 0. This should not happen.")
}

plotTab <- arrange(plotTab, Chr, cM)
Expand Down

0 comments on commit d7fe54e

Please sign in to comment.