Skip to contents

Keeps rows with hetero >= hetero_cutoff in @GTsummary.filtered, enforces a minimum number of rows per variant, updates @V.fitered, and rebuilds matrices and depth matrix.

Usage

filter_redeemR_by_hetero(
  redeemR_obj,
  hetero_cutoff,
  min_cells_per_variant = 2,
  QualifiedTotalCts = NULL,
  filter_name = NULL
)

Arguments

redeemR_obj

A redeemR object.

hetero_cutoff

Numeric VAF threshold.

min_cells_per_variant

Integer; minimum rows per variant (default 2).

QualifiedTotalCts

Optional “QualifiedTotalCts” for depth rebuilding.

filter_name

Optional label for matrix-dimension printing.

Value

The updated redeemR object.