View source: R/evaluate_performance.R
compute_mad | R Documentation |
Given a dataframe, the Median Absolute Deviation (MAD) is calculated per-marker, per-batch
compute_mad(df, cell_col = "label", batch_col = "batch", markers = NULL)
df |
Dataframe to compute the MADs of |
cell_col |
Column name of df that contains cell population labels (or clusters) |
batch_col |
Column name of df that contains batch numbers |
markers |
Vector of the markers to calculate EMD for. If NULL, |
Other mad:
evaluate_mad()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.