R/TCC.getNormalizedData.R

TCC$methods(getNormalizedData = function () {
    effective.libsizes <- colSums(count) * norm.factors
    return (sweep(count, 2, 
                  mean(effective.libsizes) / effective.libsizes, "*"))
})

Try the TCC package in your browser

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

TCC documentation built on Nov. 8, 2020, 8:20 p.m.