counts2normalized_10X: transform count to CPM

View source: R/counts2rpm.R

counts2normalized_10XR Documentation

transform count to CPM

Description

transform count to CPM

Usage

counts2normalized_10X(data, toType, scale.factor = 10^6)

Arguments

data

a dataframe with row of gene and column of sample

toType

whether RPKM or TPM of result you wanted, eg "CPM"

scale.factor

set the scale factor, default "10^6"

Value

the CPM of data


ShellyCoder/cellcall documentation built on Oct. 11, 2023, 2:50 p.m.