Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_lfdr

Return lfsr from an ash object


Description

These functions simply return elements of an ash object, generally without doing any calculations. (So if the value was not computed during the original call to ash, eg because of how outputlevel was set in the call, then NULL will be returned.) Accessing elements in this way rather than directly from the ash object will help ensure compatability moving forward (e.g. if the internal structure of the ash object changes during software development.)

Usage

get_lfsr(x)

get_lfdr(a)

get_svalue(a)

get_qvalue(a)

get_pm(a)

get_psd(a)

get_pp(a)

get_np(a)

get_loglik(a)

get_logLR(a)

get_fitted_g(a)

get_pi0(a)

Arguments

x

an ash fit (e.g. from running ash)

a

an ash fit (e.g. from running ash)

Value

a vector (ash) of local false sign rates

Functions

  • get_lfsr: local false sign rate

  • get_lfdr: local false discovery rate

  • get_svalue: svalue

  • get_qvalue: qvalue

  • get_pm: posterior mean

  • get_psd: posterior standard deviation

  • get_pp: positive probability

  • get_np: negative probability

  • get_loglik: log-likelihood

  • get_logLR: log-likelihood ratio

  • get_fitted_g: fitted g mixture

  • get_pi0: pi0, the proportion of nulls


ashr

Methods for Adaptive Shrinkage, using Empirical Bayes

v2.2-47
GPL (>= 3)
Authors
Matthew Stephens [aut], Peter Carbonetto [aut, cre], Chaoxing Dai [ctb], David Gerard [aut], Mengyin Lu [aut], Lei Sun [aut], Jason Willwerscheid [aut], Nan Xiao [aut], Mazon Zeng [ctb]
Initial release
2020-02-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.