hc_plot_roc: Plot a ROC curve for precision vs recall

Description Usage Arguments Examples

View source: R/reporting.R

Description

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

Usage

1
2
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

1
2
3
4
5
## Not run: 
roc <- extract_metrics(happy_compare, table = "pr.all")
hc_plot_roc(roc, type = "INDEL", filter = "PASS")

## End(Not run)

Illumina/happyCompare documentation built on July 12, 2019, 7:57 p.m.