Learn R Programming

grandR (version 0.2.6)

PlotModelCompareErrPrior: Diagnostic plot for estimated models (global error rate)

Description

This belongs to the fourth kind (model comparison) of diagnostic plots

Usage

PlotModelCompareErrPrior(
  data,
  label = "4sU",
  estimator = "Separate",
  model = "Binom"
)

Value

a list with a ggplot object, a description, and the desired size for the plot

Arguments

data

a grandR object

label

which label to consider (see GetDiagnosticParameters); cannot be NULL

estimator

which estimator to consider (see GetDiagnosticParameters); cannot be NULL

model

which model to consider (see GetDiagnosticParameters); cannot be NULL

Details

Compares the prior error rate (estimated from no4sU samples or from all other mismatch types) against the final error rate estimate.