Skip to content

Commit

Permalink
Merge pull request #82 from zifornd/81-edger_exon-fails-if-only-singl…
Browse files Browse the repository at this point in the history
…e-entry-in-contrast-sheet

keep contrasts as array when only one level
  • Loading branch information
jma1991 authored Jul 21, 2023
2 parents 85631a2 + 62d9f4d commit 35da580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/run_edger_exon.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ contrasts <- makeContrasts(contrasts = contrasts, levels = groups)

colnames(contrasts) <- names

contrasts <- contrasts[, colSums(contrasts != 0) > 0]
contrasts <- contrasts[, colSums(contrasts != 0) > 0, drop = FALSE]


# Estimate dispersions by empirical Bayes
Expand Down

0 comments on commit 35da580

Please sign in to comment.