scale_to_million: Scale sample to TPM

View source: R/single_cell_simulation.R

scale_to_millionR Documentation

Scale sample to TPM

Description

a TPM sample always sums to 1,000,000.

Usage

scale_to_million(sample)

Arguments

sample

numeric vector of gene expression values

Details

This function takes an input vector and rescales it, so that the sum of the vector equals 1e6.


grst/immunedeconv documentation built on Nov. 10, 2023, 1:33 a.m.