View source: R/markerGenesAndMapping.r
plotConfusionVsConfidence | R Documentation |
Produces line plots showing the percent of correctly mapped cells above a certain confidence value (or score). This is a wrapper for plot.
plotConfusionVsConfidence(
foundClusterAndScore,
realCluster,
RI = (31:100)/100,
main = "% mapping (blue) / correct (orange)",
ylab = "Percent",
xlab = "Fraction correctly mapped to leaf",
type = "l",
xlim = range(RI),
...
)
foundClusterAndScore |
matrix where first column is found cluster and second column is confidence score (e.g., output from getTopMatch) |
realCluster |
character vector of assigned clusters |
... |
additional parameters for the plot function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.