fdr_cutoff: Retrieve all target id's for a given data frame with a FDR...

View source: R/sleuth_pre_processing.R

fdr_cutoffR Documentation

Retrieve all target id's for a given data frame with a FDR less than or equal to the selected cutoff. Default cutoff value is .05.

Description

Retrieve all target id's for a given data frame with a FDR less than or equal to the selected cutoff. Default cutoff value is .05.

Usage

fdr_cutoff(sleuth_res, q_cutoff = 0.05, q_equal = FALSE)

Arguments

sleuth_res

A data frame generated following running sleuth_results

q_cutoff

The selected FDR cutoff value. Default is .05.

q_equal

Should the returned results by less than or equal to the q_cutoff. Default is false, which then returns all results less than but not equal to the q_cutoff.

Value

A list of target id's.

Examples

# Given a Sleuth object, return a data frame of all target id's with an FDR less than the cutoff value
fdr_cutoff(wald_test_results)

nodrogluap/gumshoe documentation built on Feb. 28, 2023, 6:15 p.m.