Description Usage Arguments Value
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.
1 | mutation_prevalence(data, threshold)
|
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. |
A tibble with the extra class mutation_prev
. The output
has the following columns:
mutation_name
: The unique mutation sequenced.
n_total
: The number of samples for which a mutation site was sequenced.
n_mutant
: The number of samples for which a mutation occurred.
prevalence
: The prevalence of the mutation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.