Description Usage Arguments Value
A function to estimate hyperparameters, i.e., the scale and location parameters of prior distributions (Gamma) of the variances of random replicates effect and random SNP effect, as well as the parameters of the prior distribution (Gaussian) of fixed gene effect.This function tried to fit Generalized Linear Mixed Model to the data of each gene by glmer
function in lme4
and then filter out the genes with computational problems. The hyperparameter estimation is based on the genes without computational problems.
1 |
data |
The raw data, need to be in the exact format with the sample data provided by this package, more specifically, a |
rep |
The number of biological replicates at each SNP. |
A list
contains the following:
the estimation of hyperparameters.
a vector contain index of genes without computational problems.
a data.frame
contains detailed intermediate results such as the p_values and estimated FDRs of likelihood ratio tests, the estimates of variance components etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.