Skip to content

Commit 4a36b40

Browse files
fix bug in topTableBC for manual bias argument
1 parent 4f482c7 commit 4a36b40

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: voomCLR
22
Title: Compositional analysis of cell count data.
3-
Version: 0.99.39
3+
Version: 0.99.40
44
Authors@R:
55
person("Koen", "Van den Berge", , "koen.vdberge@gmail.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0002-1833-8478"))

R/topTableBC.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
}
118118

119119
# Bias calculation
120-
if(!is.null(bias)){
120+
if(is.null(bias)){
121121
bias <- apply(fit$coefficients, 2, function(x) {
122122
.getMode(x, n = n)
123123
})

0 commit comments

Comments
 (0)