Description Usage Arguments Value
Returns original dt with an additional column with normalized quantity. The column to be normalised is given by 'in.meas.col'. The name of additional column is the same as in.meas.col but with ".norm" suffix added. Normalisation is based on part of the trajectory; this is defined by in.rt.min and max, and the column with time in.rt.col.#'
1 2 3 |
in.dt |
Data table in long format |
in.meas.col |
String with the column name to normalize |
in.rt.col |
String with the colum name holding time |
in.rt.min |
Lower bound for time period used for normalization |
in.rt.max |
Upper bound for time period used for normalization |
in.by.cols |
String vector with 'by' columns to calculate normalization per group; if NULL, no grouping is done |
in.robust |
Whether robust measures should be used (median instead of mean, mad instead of sd); default TRUE |
in.type |
Type of normalization: z.score or mean (i.e. fold change w.r.t. mean); default 'z-score' |
Returns original dt with an additional column with normalized quantity.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.