fitFDist: Internal function for calculating empirical bayes estimates

View source: R/fitFDist.R

fitFDistR Documentation

Internal function for calculating empirical bayes estimates

Description

fitFDist is the function to obtain the empirical bayes estimate of n0 and s0^2 described on the top of the file. This function is extracted from limma package.

Usage

fitFDist(x, df1, covariate = NULL)

Arguments

x

Input scale (e.g. variance of regression errors)

df1

Degrees of freedom for input regression.

covariate

Covariates

Value

scale:

Scale for rescaled t distribution.

df2:

Degrees of freedom for rescaled t distribution.


songxiaoyu/iProFun documentation built on Dec. 8, 2022, 3:54 p.m.