find.sd: Helper function for getParams

Description Usage Arguments Details Value Author(s) See Also

View source: R/find.sd.R

Description

Find standard deviation of distribution of over- or underexpressed statistics

Usage

1
find.sd(prev.p, found.mean, null.mean, null.sd, null.prop, vals, up = T)

Arguments

prev.p

percentile of null distribution used to find the mean of the distribution of interest - usually the $p return of find.mean.up or find.mean.down.

found.mean

mean of distribution of interest - usually the $m return of find.mean.up or find.mean.down

null.mean

estimated mean of null distribution (usually found with locfdrFit)

null.sd

estimated standard deviation of null distribution (usually found with locfdrFit)

null.prop

estimated proportion of statistics that came from the null distribution

vals

vector of all the observed values from the mixture distribution

up

if TRUE, find standard deviation of overexpressed statistics, otherwise find standard deviation of underexpressed statistics

Details

This function is for experienced users or debugging only - all other users should use getParams, which calls this function.

Value

The estimated standard deviation of the over- or underexpressed statistics

Author(s)

Alyssa Frazee

See Also

getParams, find.mean.up, find.mean.down


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