get_lfdr: Return lfsr from an ash object

View source: R/get_functions.R

get_lfsrR Documentation

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 documentation built on Aug. 22, 2023, 1:07 a.m.