Calculates all sequential candidate groups below max_size.
sequential_groups.Rd
Calculates all sequential candidate groups below max_size.
Usage
sequential_groups(
samples = NULL,
susie_alphas = NULL,
q = 0,
max_pep = 1,
max_size = 25,
prenarrow = TRUE
)
Arguments
- samples
(N,p)-shaped matrix of posterior samples where a nonzero value indicates the presence of a signal.
- susie_alphas
As an alternative to posterior samples, users may specify an L x p matrix of alphas from a SuSiE object. However, calling
susie_groups
is recommended instead.- q
The nominal level at which to control the error rate (optional)
- max_pep
The maximum posterior error probability (PEP) allowed in a candidate group. Default is 1.
- max_size
maximum allowable size for each group.
- prenarrow
If true, prenarrows the candidate groups as described in the paper. Defaults to TRUE.