precision_recall_curve_per_coverage: Precision-recall curves to compare methods, using different...

View source: R/utils.R

precision_recall_curve_per_coverageR Documentation

Precision-recall curves to compare methods, using different filtering on read coverage

Description

Precision-recall curves to compare methods, using different filtering on read coverage

Usage

precision_recall_curve_per_coverage(
  master_table,
  method_names,
  output_method_names = NULL,
  data_name,
  truth_name,
  coverage_thresholds,
  what
)

Arguments

master_table

A data.frame. The input master table.

method_names

A vector of strings. The names of the methods to be compared.

output_method_names

A vector of strings. How to output the names of the methods to be compared. The default is NULL.

data_name

A 1-length string. The name of the dataset used with the methods to be compared.

truth_name

A 1-length string. The name of the ground-truth.

coverage_thresholds

A vector of integers. The minimum thresholds to filer by read coverage. Each element defines a point in the precision-recall curves.

what

A 1-length string. Possible values are: "snps_indels" (default), to make curves for SNPs and indels separately; "snps", to make curves only for SNPs; "indels", to make curves only for indels; "overall", to make curves without distinguishing SNPs and indels.

Value

A ggplot object.


vladimirsouza/lrRNA-seq_benchmark documentation built on March 25, 2023, 9:29 p.m.