Skip to content

Commit

Permalink
Merge pull request #5508 from pcm32/patch-7
Browse files Browse the repository at this point in the history
Fix EdgeR: Deal with factor names on unified factor file
  • Loading branch information
bgruening authored Sep 27, 2023
2 parents 2dc6baa + 4b3d765 commit 95a36f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/edger/edger.R
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ if (!is.null(opt$filesPath)) {
}
# order samples as in counts matrix
factordata <- factordata[match(colnames(counts), factordata[, 1]), ]
factors <- factordata[, -1, drop = FALSE]
factors <- data.frame(sapply(factordata[, -1, drop = FALSE], make.names))
} else {
factors <- unlist(strsplit(opt$factInput, "|", fixed = TRUE))
factordata <- list()
Expand Down
2 changes: 1 addition & 1 deletion tools/edger/edger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</description>
<macros>
<token name="@TOOL_VERSION@">3.36.0</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@VERSION_SUFFIX@">2</token>
</macros>
<edam_topics>
<edam_topic>topic_3308</edam_topic>
Expand Down

0 comments on commit 95a36f5

Please sign in to comment.