R/logtpm.R

Defines functions logtpm

logtpm = function(m, bulk = F) {
    m = as.matrix(m)
    if (bulk) x = 1
    else x = 10
    log2((m/x) + 1)
}
jlaffy/scrabble documentation built on Nov. 16, 2019, 7:56 a.m.