getParams.failsafe: Helper function for getParams

Description Usage Arguments Details Value Author(s) See Also

View source: R/getParams.failsafe.R

Description

When numerical methods find.mean and find.sd fail, getParams.failsafe is used to calculate parameters of the distributions of t statistics originating from over- or underexpressed nucleotides.

Usage

1
getParams.failsafe(null.mean, null.sd)

Arguments

null.mean

Estimated mean of null distribution (usually from locfdrFit)

null.sd

Estimated standard deviation of null distribution (usually from locfdrFit)

Details

For experienced users/debugging only. Most users should use getParams directly.

Value

A list with elements

DEup.mean

estimated mean of overexpressed distribution, calculated as the 95th percentile of the estimated null distribution

DEup.sd

estimated standard deviation of overexpressed distribution, set to be equal to the estimated standard deviation of the null distribution

DEdown.mean

estimated mean of underexpressed distribution, calculated as the 5th percentile of the estimated null distribution

DEdown.sd

estimated standard deviation of underexpressed distribution, set to be equal to the estimated standard deviation of the null distribution

Author(s)

Alyssa Frazee

See Also

getParams


leekgroup/derfinder documentation built on May 20, 2019, 11:30 p.m.