R/atac_processing.R
TFIDF.Rd
The Term Frequency - Inverse Document Frequency (TF-IDF) normalization, as implemented in Stuart & Butler et al. 2019.
TFIDF(x, sf = 10000)
The matrix of occurrences
Scaling factor
An array of same dimensions as `x`
m <- matrix(rpois(500,1),nrow=50) m <- TFIDF(m)