Skip to contents

Removes events that do not pass minimum coverage or variance thresholds.

Usage

FilterEvents(object, ...)

# S4 method for class 'MatisseObject'
FilterEvents(
  object,
  min_cells_covered = 10L,
  min_psi_variance = NULL,
  verbose = TRUE
)

Arguments

object

A MatisseObject with a "psi" assay.

...

Named thresholds; see FilterEvents.

min_cells_covered

Integer. Minimum number of cells in which the event must have a non-NA PSI value. Default: 10.

min_psi_variance

Numeric. Minimum variance of PSI across covered cells. Default: NULL (no variance filter).

verbose

Logical. Default: TRUE.

Value

The filtered MatisseObject.

The filtered MatisseObject.