AlleleFreq | R Documentation |
Collapses allele counts for each strand and normalize by the total number of counts at each nucleotide position.
AlleleFreq(object, ...) ## Default S3 method: AlleleFreq(object, variants, ...) ## S3 method for class 'Assay' AlleleFreq(object, variants, ...) ## S3 method for class 'Seurat' AlleleFreq(object, variants, assay = NULL, new.assay.name = "alleles", ...)
object |
A Seurat object, Assay, or matrix |
... |
Arguments passed to other methods |
variants |
A character vector of informative variants to keep. For
example, |
assay |
Name of assay to use |
new.assay.name |
Name of new assay to store variant data in |
Returns a Seurat
object with a new assay
containing the allele frequencies for the informative variants.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.