subSetNA: sets NTP results to NA based on p-value cutoff

View source: R/subSetNA.R

subSetNAR Documentation

sets NTP results to NA based on p-value cutoff

Description

sets ntp predictions to NA based on p-value or FDR thresholds

Usage

subSetNA(res, pValue = 1, FDR = 1, verbose = TRUE)

Arguments

res

a data frame, result from ntp function.

pValue

a numeric, predictions with higher p-values are set to NA.

FDR

a numeric, predictions with higher FDR are set to NA.

verbose

logical, whether console messages are to be displayed.

Details

Replaces low-confidence predictions with NA.

Value

A data.frame where res$prediction's are set to NA based on p-value or FDR threshold.


MolecularPathologyLab/MmCMS documentation built on Oct. 18, 2023, 10:42 p.m.