fpkmToTpm: Convert fpkm to Tpm

View source: R/fpkm_count_conversion.r

fpkmToTpmR Documentation

Convert fpkm to Tpm

Description

Convert fpkm to Tpm

Usage

fpkmToTpm(fpkm_matrix)

Arguments

fpkm_matrix

a matrix, colnames of fpkm_matrix are sample name, rownames of fpkm_matrix are genes

Value

a matrix

Examples

lung_squ_count2 <- matrix(c(0.11, 0.22, 0.43, 0.14, 0.875,
    0.66, 0.77, 0.18, 0.29), ncol = 3)
rownames(lung_squ_count2) <- c("DISC1", "TCOF1", "SPPL3")
colnames(lung_squ_count2) <- c("sample1", "sample2", "sample3")
result <- fpkmToTpm(lung_squ_count2)

huerqiang/GeoTcgaData documentation built on March 21, 2024, 1:42 a.m.