BI_FPKMtoTPM: FPKM value converted to TPM value

Description Usage Arguments Value Author(s) See Also Examples

Description

FPKM value converted to TPM value

Usage

1
  FPKMtoTPM(mt)

Arguments

mt

data frame or matrix.It always be a gene expression matrix.

Value

a matrix contain TPM Values

Author(s)

Weibin Huang

See Also

data(fpkm)

Examples

1
2
3
4
data(fpkm) # fpkm <- assay(data)
tpm <- FPKMtoTPM(fpkm)
tpm[1,1] == (fpkm[1,1]/sum(as.numeric(as.character(fpkm[,1]))))*(10^6) ## T
colSums(tpm)/nrow(tpm) # a value that should be a repeats of constant values.

huangwb8/lucky documentation built on Oct. 16, 2019, 9:01 a.m.