Skip to content

Commit

Permalink
Merge pull request #183 from RGLab/getLogFC-bugfix
Browse files Browse the repository at this point in the history
Repackaging #182
  • Loading branch information
amcdavid authored Sep 27, 2023
2 parents c834de3 + fcfa4cd commit 1c60223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: MAST
Type: Package
Title: Model-based Analysis of Single Cell Transcriptomics
Version: 1.25.2
Version: 1.27.1
Date: 2023-04-20
Authors@R: c(person("Andrew", "McDavid", email = "[email protected]", role = c("aut", "cre")),
person("Greg", "Finak", email="[email protected]", role='aut'),
Expand Down
1 change: 1 addition & 0 deletions R/ZlmFit-logFC.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ logFC <- function(zlmfit, contrast0, contrast1){
} else if(inherits(contrast0, 'Hypothesis')){
gh <- generateHypothesis(contrast0, coname)
contrast0 <- gh@contrastMatrix
contrast0 <- t(contrast0)
}
if(missing(contrast1)){
contrast1 <- cbind(0, diag(1, nrow=length(coname)-1))
Expand Down

0 comments on commit 1c60223

Please sign in to comment.