Explore what effect the filter_coverage_samples() function will have on the data without actually applying any filters. Can be used to set coverage thresholds.

explore_filter_coverage_samples(
  x,
  min_coverage = 5,
  max_low_coverage = 50,
  breaks = 100
)

Arguments

x

object of class mipanalyzer_biallelic or mipanalyzer_multiallelic.

min_coverage

the coverage threshold below which data is deemed to be low-coverage.

max_low_coverage

(percentage). Samples are not allowed to contain more than this many low-coverage loci. In the filter_coverage_samples() function, any sample with more than max_low_coverage low-coverage loci will be dropped.

breaks

number of breaks spanning the range [0,100].