VariantSelection_Group
VariantSelection_Group.Rd
We get variants of interest by selecting variants with a high VAF difference between two groups. This function is adapted from the Peter van Galen. Source: https://github.com/petervangalen/MAESTER-2021
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.
- mean_allele_frequency
The minimum mean allele frequency. Default = 0
- group_of_interest
The column data that divides the cells.
- group1
The first group of interest. If set, the quantiles are only calculated for this group.
- group2
The second group of interest.
- group_factor
How much higher has the mean allele frequency to be in group 1 when compared to group 2?
- remove_nocall
Should NoCall cells (consensus = 0) be disregarded during the analysis?
- verbose
Should the function be verbose? Default = TRUE