View source: R/evaluate_performance.R
evaluate_mad | R Documentation |
The function computes the Median Absolute Deviation of the two given datasets. Then the reduction is calculated as the relative change in total MAD.
evaluate_mad( uncorrected, corrected, cell_col = "label", batch_col = "batch", markers = NULL, filter_limit = NULL )
uncorrected |
Dataframe of uncorrected data |
corrected |
Dataframe of corrected data |
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, |
filter_limit |
Limit for MAD removal (Removing MADs that are below or equal to filter_limit in both before and after correction). Default filters none of the values. |
Other mad:
compute_mad()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.