log2expr: log2 transformation of expression matrix

Description Usage Arguments Details Value

View source: R/Tests.R

Description

Do the expression matrix needs log2 transformation

Usage

1
log2expr(exprMat, gene_col = NULL)

Arguments

exprMat

gene expression matrix with row as genes and sample in the column

gene_col

column name or number of gene id, default is NULL, choose the first column

Details

The function will first check whether the expression matrix has undergone log2 transformation; if the expression matrix have done log2 transformation, return the raw expression matrix, else do the log2 transformation

Value

a gene expression matrix after log2 transformation


Moonerss/ProteinBase documentation built on Dec. 17, 2021, 4:21 a.m.