Skip to content

Commit

Permalink
correct arg
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-james committed Dec 10, 2024
1 parent afc8ad3 commit ce1655b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/deg.R
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ deg.deseq2 <- function(se,
cat("From coefficients\n")
cat("\t", paste0(DESeq2::resultsNames(out), collapse=","), "\n")
if (any(grepl(make.names(paste0(pathology, case))), DESeq2::resultsNames(out))) {
IDX = which(grepl(make.names(paste0(pathology, case))))[1]
IDX = grep(make.names(paste0(pathology, case)), DESeq2::resultsNames(out))[1]
} else {
IDX = 1
}
Expand Down

0 comments on commit ce1655b

Please sign in to comment.