updateCutoffs: Update FDR by Permutation

View source: R/3-shared-updateCutoffs.R

updateCutoffsR Documentation

Update FDR by Permutation

Description

This function updates FDR for a set of cutoffs.

Usage

updateCutoffs(object, cutoff = seq(0.05, 0.95, 0.3), ncores = 1)

updateCutoffs.propr(object, cutoff, ncores)

updateCutoffs.propd(object, cutoff = seq(0.05, 0.95, 0.3))

Arguments

object

A propr or propd object.

cutoff

For updateCutoffs, a numeric vector. this argument provides the FDR cutoffs to test.

ncores

An integer. The number of parallel cores to use.

Details

This function wraps updateCutoffs.propr and updateCutoffs.propd.

Value

A propr or propd object with the FDR slot updated.

Methods

updateCutoffs.propr: Use the propr object to permute proportionality across a number of cutoffs. Since the permutations get saved when the object is created, calling updateCutoffs will use the same random seed each time.

updateCutoffs.propd: Use the propd object to permute theta across a number of theta cutoffs. Since the permutations get saved when the object is created, calling updateCutoffs will use the same random seed each time.


tpq/propr documentation built on Feb. 7, 2024, 9:19 a.m.