mutation_prevalence: Compute prevalence of mutations

Description Usage Arguments Value

View source: R/mut-prev.R

Description

Generate a table representing the prevalence of unique mutations. In order to ensure confidence in the results, a threshold is provided indicating confidence in genotype calls. All data that do not meet this threshold will be removed from the computation.

Usage

1

Arguments

data

A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr).

threshold

A minimum UMI count which reflects the confidence in the genotype call. Data with a UMI count of less than the threshold will be filtered out from the analysis.

Value

A tibble with the extra class mutation_prev. The output has the following columns:


arisp99/s3examples documentation built on Jan. 15, 2022, 11:11 a.m.