Usage
selectTop(cD, group, ordering, orderings = TRUE, decreasing = TRUE, number = 10, likelihood, FDR, FWER)
Arguments
cD
A countData
object, with a populated `@posteriors' slot.
group
Optionally, the model of interest, as defined in the `@groups' slot
of the countData
object. If unspecified, subsets for
all models will be returned as a list.
ordering
If `group' is specified, a particular ordering of the data based on
that group can also be specified.
orderings
If no group is specified, should the selection of models also be
split by the orderings of the data under the models? Defaults to TRUE.
decreasing
If FALSE, considers the data with the lowest posterior likelihoods,
rather than the greatest (i.e., selects those data least likely to
conform to a particular model.
number
If given, selects the top 'number' of genomic events for each model
(and optionally, ordering). Ignored if another selection criteria is
chosen, unless this criteria would return no values.
likelihood
If given, selects all genomic events for a given model (and
optionally, ordering) with posterior likelihood exceeding this
value.
FDR
If given, selects all genomic events for a given model (and
optionally, ordering) with false discovery rate below this
value. Ignored if likelihood is specified.
FWER
If given, selects all genomic events for a given model (and
optionally, ordering) with family-wise error rate below this
value. Ignored if likelihood or FDR is specified.