View source: R/VariantSelection_VMR_Group.R
VariantSelection_VMR_Group | R Documentation |
This is an adaption of the VMR based selection of variants from Miller et al. This selection process is designed for ATAC data and not scRNAseq data. The variants are first selected as described. Then the average allele frequency between the the two groups of interest are compared. If the allele frequency in group1 is higher than the required threshold, the variant is retained.
VariantSelection_VMR_Group(
SE,
stabilize_variance = TRUE,
low_coverage_threshold = 10,
minimum_fw_rev_reads = 2,
group_of_interest = NULL,
group1 = NULL,
group2 = NULL,
group_factor = 5,
verbose = TRUE
)
SE |
SummarizedExperiment object. |
stabilize_variance |
Should the variance be stabilized by using the mean allele frequency for cells with a low coverage? Coverage threshold is set by low_coverage_threshold. |
low_coverage_threshold |
Cells below this threshold are set to the mean. |
minimum_fw_rev_reads |
How many forward and reverse reads should a cell have? Default = 2 |
group_of_interest |
The group of interest in the column data. |
group1 |
The group of interest. |
group2 |
The second group. |
group_factor |
How much higher should the VAF be in group 1 comapred to group 2? Default = 5 |
verbose |
Should the function be verbose? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.