calcWeights: Obtain weights as posterior probabilities to calculate the...

Description Usage Arguments Value

View source: R/F_calcWeights.R

Description

Obtain weights as posterior probabilities to calculate the consensus null

Usage

1
calcWeights(logDensPerm, fdr)

Arguments

logDensPerm

A matrix with B rows of logged density estimates of the B permutation distributions, and p columns for the p observed test statistics

fdr

A vector of local false discovery rates for the observed tests statistics of length p

Value

A vector of weights of length B


reconsi documentation built on Nov. 8, 2020, 5:04 p.m.

Related to calcWeights in reconsi...