count2tpm: normalize count to TPM

Description Usage Arguments Value

View source: R/count2tpm.R

Description

normalize count to TPM

Usage

1
count2tpm(count, geneLength, pseudoCount = 0, log = F, pseudoTPM = 1)

Arguments

count

a matrix or data.frame with unique id as row names and unique sample name as colnames required

geneLength

a named vector with unique id (required)

pseudoCount

the integer pseudoCount added to count matrix/data.frame. default = 0

log

a boolean value to determine whether the output tpm is Logarithm. default = FALSE. If is TRUE, use pseudoTPM.

pseudoTPM

a integer pseudoCount added to TPM matrix/data.frame after normalization for Logarithm. default = 1

Value

a data.frame of normalized count as TPM


sckinta/deqc documentation built on Jan. 11, 2022, 12:36 a.m.