Description Usage Arguments Value Note
Determines which associations are significant using emperical bayes and false discovery rate adjustment.
1 2 |
scores |
Either a vector or a symmetric matrix of association scores. |
threshold |
The threshold for false discovery rate, used to determine significance; scores with ikelihood ratios above this threshold are set to zero. If NULL, all scores are preserved. |
transformation |
(option) Function applied to scores before estimating the null distribution. If provided, the function should take a vector as input and return a vector for output. |
robust |
Should robust estimates of mean and variance be used? |
include_likelihood |
Should the matrix of likelihood ratios be provided in the output? |
show_plot |
If true, a histogram of scores with estimated density and null distribution is plotted. |
ignore_zeroes |
If true, zeroes in scores input will be ignored. |
gene_names |
(optional) Vector of gene names. |
A list containing: scores
, the scores with non-significant values
set to zero; mu_f0
, the estimate of mu for the null distribution; sigma_f0
,
the estimate of sigma for the null distribution; f
, the empirical density
estimate; and likelihood
, (optional) the likelihood ratios (fdr rates)
for each score.
The robust estimators used are median and MAD. If the majority of scores are zero, the robust estimate for sigma might be zero; in this case the usual estimator is used instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.