plot_sample_counts | R Documentation |
Displays the proportion of counts for each mutation type across one or more samples.
plot_sample_counts(
musica,
sample_names,
table_name = NULL,
text_size = 10,
show_x_labels = TRUE,
show_y_labels = TRUE,
same_scale = TRUE,
annotation = NULL
)
musica |
A |
sample_names |
Names of the samples to plot. |
table_name |
Name of table used for plotting counts. If |
text_size |
Size of axis text. Default |
show_x_labels |
If |
show_y_labels |
If |
same_scale |
If |
annotation |
Vector of annotations to be displayed in the top right
corner of each sample. Vector length must be equivalent to the number of
samples. Default |
Generates a ggplot object
data(musica_sbs96)
plot_sample_counts(musica_sbs96, sample_names =
sample_names(musica_sbs96)[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.