Drop any allele for which the number of read counts is below a given threshold. Coverage is adjusted to account for dropped reads.

filter_counts(
  x,
  count_min = 2,
  description = "filter individual allele counts"
)

Arguments

x

object of class mipanalyzer_biallelic or mipanalyzer_multiallelic.

count_min

alleles with fewer than this many counts are dropped.

description

brief description of the filter, to be saved in the filter history.