Skip to contents

Visualize evaluation metrics for deconvolution results.

Usage

PlotEvaluation(
  evaluation,
  type = c("bar", "correlation", "scatter", "heatmap"),
  predictions = NULL,
  truth = NULL
)

Arguments

evaluation

A TorchDeconEvaluation object from EvaluateDeconvolution().

type

Character. Type of plot: "correlation", "scatter", "heatmap", or "bar". Default is "bar".

predictions

Data frame of predictions (required for "scatter" and "heatmap").

truth

Data frame of true values (required for "scatter" and "heatmap").

Value

A ggplot2 object.