Description Usage Arguments Value Examples
View source: R/normalize_by_time.R
Normalizes all metrics based on the arrangement of the tidycyte metadata table. The metadata
table is expected to have a column named "metric
" referring to each metric name, and a
column named "time_norm
" that contains on each row the elapsed time to be used for normalization
or, if no normalization is desired for that metric, some other value that does not correspond
to an elapsed time value (e.g. NA
, NULL
, or empty).
1 | normalize_by_time(df, .metadata)
|
.metadata |
A data frame containing tidycyte metadata |
.df |
A data frame containing tidycyte data. |
A data frame with normalized metrics
1 | df %>% normalize_by_time(metadata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.