View source: R/getDeltaFromMedian.R
getDeltaFromMedian | R Documentation |
Compute the delta value for each cell, defined as the difference between the score for the assigned label and the and median score across all labels.
getDeltaFromMedian(results)
results |
A DataFrame containing the output generated by |
This funciton computes the same delta value that is used in pruneScores
,
for users who want to apply more custom filters or visualizations.
A numeric vector containing delta values for each cell in results
.
Aaron Lun
pruneScores
, where the delta values are used.
# Running the SingleR() example.
example(SingleR, echo=FALSE)
summary(getDeltaFromMedian(pred))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.