Description Usage Arguments Value Examples
View source: R/normalize_by_metric.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 "metric_norm
" that contains on each row the name of another metric for normalization
or, if no normalization is desired for that metric, some other value that does not correspond
to a metric name (e.g. NA
, NULL
, or empty).
1 | normalize_by_metric(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_metric(metadata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.