Description Usage Arguments Value
Combine the posterior probabilities of association patterns according to the number of traits with non-null associations in each pattern. Provides the posterior probability of being associated with "at least n" number of traits/studies by summing over association patterns with at least n studies coming from the alternative distribution. Can also require non-null association with one or more traits and combine over other traits.
1  | collapse_pp_num(post_prob, req_idx = NULL, prefix = "pp_ge_")
 | 
post_prob | 
 matrix of posterior probabilities.  | 
req_idx | 
 (optional) scalar or integer vector of trait(s) where a non-null
association is required (i.e. from the alternative distribution).
If   | 
prefix | 
 character string denoting prefix of column names for the results matrix.  | 
A numeric matrix of combined posterior probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.