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),
  ...
)

Arguments

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