plotConfusionVsConfidence: Confusion plot vs. confidence

View source: R/markerGenesAndMapping.r

plotConfusionVsConfidenceR Documentation

Confusion plot vs. confidence

Description

Produces line plots showing the percent of correctly mapped cells above a certain confidence value (or score). This is a wrapper for plot.

Usage

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


AllenInstitute/mfishtools documentation built on July 5, 2023, 4:20 p.m.