Skip to contents

We get variants of interest by selecting a small number of cells with a high VAF for a variant. This function is adapted from the Peter van Galen. Source: https://github.com/petervangalen/MAESTER-2021

Usage

VariantSelection_TopCells(
  SE,
  min_coverage = 2,
  quantiles = 0.9,
  thresholds = 0,
  top_cells = 10,
  top_VAF = 0.5,
  min_quality = NULL,
  remove_nocall = TRUE,
  verbose = TRUE
)

Arguments

SE

SummarizedExperiment object.

min_coverage

Minimum coverage needed.

quantiles

The lower and upper quantile you want to use.

thresholds

The VAF thresholds you want to use for the quantiles.

min_quality

The minimum quality you want for the Variants of Interest. Can be ignored by setting it to NULL.

remove_nocall

Should NoCall cells (consensus = 0) be disregarded during the analysis?

verbose

Should the function be verbose? Default = TRUE