R/logNormalizeData.R

Defines functions log_normalize_data

log_normalize_data <- function(X){
  X <- log1p(t(t(X) / colSums(X))* 10000)
  return(X)
}

Try the SCORPION package in your browser

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

SCORPION documentation built on Feb. 5, 2026, 1:06 a.m.