Collapses allele counts for each strand and normalize by the total number of counts at each nucleotide position.
AlleleFreq(object, ...)# S3 method for default
AlleleFreq(object, variants, ...)
# S3 method for Assay
AlleleFreq(object, variants, ...)
# S3 method for StdAssay
AlleleFreq(object, variants, ...)
# S3 method for Seurat
AlleleFreq(object, variants, assay = NULL, new.assay.name = "alleles", ...)
Returns a Seurat
object with a new assay
containing the allele frequencies for the informative variants.
A Seurat object, Assay, or matrix
Arguments passed to other methods
A character vector of informative variants to keep. For
example, c("627G>A","709G>A","1045G>A","1793G>A")
.
Name of assay to use
Name of new assay to store variant data in