Skip to content

Commit

Permalink
Fixed issue where 0 counts were calculated on normalized data when th…
Browse files Browse the repository at this point in the history
…ey should have been calculated on count data
  • Loading branch information
Jacob Nearing committed Sep 11, 2023
1 parent 9025ab9 commit cce37e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Maaslin2.R
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ Maaslin2 <-
fit_data$results,
1,
FUN = function(x)
length(which(filtered_data_norm[, x[1]] > 0))
length(which(filtered_data[, x[1]] > 0))
)

################################
Expand Down

0 comments on commit cce37e3

Please sign in to comment.