plot_mutation_prevalence: Plot prevalence of mutations

Description Usage Arguments

View source: R/mut-prev.R

Description

Plot the prevalence of mutations generated by mutation_prevalence(). The prevalence is plotted on the y-axis and the amino acid change is plotted on the x-axis. Data are grouped by the gene on which the mutation took place and coloured according to their groupings.

Usage

1
2
3
4
5
6
7
plot_mutation_prevalence(data)

## S3 method for class 'mut_prev'
autoplot(object, ...)

## S3 method for class 'mut_prev'
plot(x, ...)

Arguments

data

An object of class mutation_prev. Derived from the output of mutation_prevalence().


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