Description Usage Arguments Value
View source: R/density_estimation.R
Estimate the parameters of the null and alternative
density functions.
This function calls either estimate_densities_modT
or
estimate_densities_pval
for density estimation using
moderated t-statistics or P-values, respectively.
1 2 |
betas |
vector of coefficient estimates. |
sds |
vector of standard errors (for coefficient estimates). |
df |
scalar or vector of first degrees of freedom of the F-distribution. |
pvals |
vector of P-values. |
alt_prop |
proportion of test statistics from the alternative density. |
mafs |
vector of minor allele frequencies (MAFs). |
N |
scalar or vector of number of subjects. |
use_tstats |
logical indicating whether to use moderated t-statistics ( |
See estimate_densities_modT
or estimate_densities_pval
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.