rpm scale data frame so each column sums to 1e6 (by default)

rpm(reads, scale = 1e+06, ignore_cols = NULL)

Arguments

reads

Input data frame to rescale

scale

Value to which each column should be scaled. Default 1e6

ignore_cols

Column names to exclude from calculation (e.g. id column)