Skip to content

Commit

Permalink
Update utility_scripts.R
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNickols committed Aug 1, 2024
1 parent 3d58f49 commit 3d05ca7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/utility_scripts.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ CLRnorm = function(features, zero_threshold) {
# From metagenomeSeq #
######################

# The zero threshold isn't correct here yet, but we're probably removing these
calcNormFactors <- function(x, p = cumNormStat(x)) {
xx <- x
xx[xx == 0] <- NA
Expand Down Expand Up @@ -182,6 +183,7 @@ CSSnorm = function(features, zero_threshold) {
# From edgeR #
##############

# The zero threshold isn't correct here yet, but we're probably removing these
.calcFactorQuantile <- function (data, lib.size, p=0.75)
# Generalized version of upper-quartile normalization
# Mark Robinson and Gordon Smyth
Expand Down

0 comments on commit 3d05ca7

Please sign in to comment.