get_confusionMatrix_and_metrics: Compute confusion-matrix-related values and metrics

Description Usage Arguments Author(s)

View source: R/get_confusionMatrix_and_metrics.R

Description

Generate a dataframe that contains: TP, FP, TN, FN, sensitivity, specificity, precision, accuracy for every pair as a cutoff and the same metrics based on randomization as negative controls.

Usage

1
get_confusionMatrix_and_metrics(df, annot, similarity, seed = 103)

Arguments

df

A table generated by generate_pairs_similarity_coannotation()

annot

The name of the column that contains whether pairs of genes are co-annotated or not

similarity

The name of the column that contains similarity scores, or an otherwise provided similarity vector

seed

The random seed number

Author(s)

Peter I-Fan Wu


peterwu19881230/microbialPhenotypes documentation built on March 19, 2021, 6:36 a.m.