find_evalue_cutoff: Calculate E-value cutoff

find_evalue_cutoffR Documentation

Calculate E-value cutoff

Description

Calculates the E-value cutoff that keeps the FDR under the given threshold within each annotation type.

Usage

find_evalue_cutoff(x, fdr_threshold)

Arguments

x

A data.table output from either the augment_annotation or map_proteoform function.

fdr_threshold

A value between 0 and 1 indicating the desired FDR level.

Value

A vector with three elements. These elements correspond to the E-value cutoff for the three annotation types (SwissProt, VarSplic, and TrEMBL). Note: the order of the annotation types depends on the order they appear in the AnnType column.

Author(s)

Evan A Martin


evanamartin/TopPICR documentation built on Dec. 9, 2022, 8:05 p.m.