log.mat: log.mat

View source: R/BetweenGroup.test.R

log.matR Documentation

log.mat

Description

Log transformation of a data matrix with pseudo count.

Usage

## S3 method for class 'mat'
log(mat, base = 2)

Arguments

mat

A data.martrix or data.frame including multiple numeric vectors.

base

The base in the log-transformation.

Author(s)

Shi Huang

Examples

x <- data.frame(rbind(t(rmultinom(7, 75, c(.201,.5,.02,.18,.099))),
            t(rmultinom(8, 75, c(.201,.4,.12,.18,.099))),
            t(rmultinom(15, 75, c(.011,.3,.22,.18,.289))),
            t(rmultinom(15, 75, c(.091,.2,.32,.18,.209))),
            t(rmultinom(15, 75, c(.001,.1,.42,.18,.299)))))
log.mat(x, base=10)

shihuang047/crossRanger documentation built on Sept. 18, 2024, 2:56 a.m.