Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

AlleleFreq

Compute allele frequencies per cell


Description

Collapses allele counts for each strand and normalize by the total number of counts at each nucleotide position.

Usage

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", ...)

Arguments

object

A Seurat object, Assay, or matrix

...

Arguments passed to other methods

variants

A character vector of informative variants to keep. For example, c("627G>A","709G>A","1045G>A","1793G>A").

assay

Name of assay to use

new.assay.name

Name of new assay to store variant data in

Value

Returns a Seurat object with a new assay containing the allele frequencies for the informative variants.


Signac

Analysis of Single-Cell Chromatin Data

v1.2.1
MIT + file LICENSE
Authors
Tim Stuart [aut, cre] (<https://orcid.org/0000-0002-3044-0897>), Avi Srivastava [aut] (<https://orcid.org/0000-0001-9798-2079>), Paul Hoffman [ctb] (<https://orcid.org/0000-0002-7693-8957>), Rahul Satija [ctb] (<https://orcid.org/0000-0001-9448-8833>)
Initial release
2021-05-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.