R/sizeFactor2.R

Defines functions sizeFactor2

.sizeFactor2 <- function(n) {
  temp <- log(colSums(n))
  temp <- temp - mean(temp)
  s_size <- exp(temp)
  return(s_size)
}

Try the QNB package in your browser

Any scripts or data that you put into this service are public.

QNB documentation built on Nov. 17, 2017, 8:09 a.m.