Skip to content

Commit

Permalink
Put a warning message when tableWithAnnotations file does not exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
lldelisle committed Feb 11, 2021
1 parent ee823c9 commit 8683b0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions step2-DESeq2.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ if(exists("tableWithAnnotations")){
if(!is.na(geneIDColInAnnotations)){
annot.df<-ann[match(rownames(resOrdered),ann[,geneIDColInAnnotations]),]
}
} else {
cat("The annotation file specified:",tableWithAnnotations," does not exists. It will not be added.\n")
}
}

Expand Down

0 comments on commit 8683b0c

Please sign in to comment.