add_method_vs_truth_comparison_to_master_table: Add classiffication of variants calls by comparing to the...

View source: R/create_master_table.R

add_method_vs_truth_comparison_to_master_tableR Documentation

Add classiffication of variants calls by comparing to the ground-truth to a master table

Description

Compare variants calls of a method to the ground-truth and classify each one as true-positiove (TP), false-negative (FN), false-positive (FP), or true-negative (TN).

Usage

add_method_vs_truth_comparison_to_master_table(
  input_table,
  method_name,
  truth_name,
  replace_column = FALSE
)

Arguments

input_table

A data.frame. The master table to add the new column.

method_name

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

truth_name

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

replace_column

1-length boolean (default is FALSE). If the classification column already exists and it is desired to replace it.

Value

A data.frame.


vladimirsouza/lrRNAseqBenchmark documentation built on March 23, 2023, 7:32 a.m.