Plot precision vs recall ROC curves from the selected filters. If pr.all is provided, overlay pass points to ALL curve.

hc_plot_roc(happy_roc, type, filter, subtype = "*", subset = "*",
  xlim = NA, ylim = NA)

Arguments

happy_roc

A happy_roc object.

type

Variant type.

filter

Variant filter.

subtype

Variant subtype. Default: *.

subset

Variant subset. Default: *.

xlim

Vector with x axis limits, e.g. c(0, 1). Default: auto-adjust.

ylim

Vector with y axis limits, e.g. c(0, 1). Default: auto-adjust.

Examples

# NOT RUN { roc <- extract_metrics(happy_compare, table = "pr.all") hc_plot_roc(roc, type = "INDEL", filter = "PASS") # }