plot_sample_counts {musicatk} | R Documentation

## Plot distribution of sample counts

### Description

Displays the proportion of counts for each mutation type across one or more samples.

### Usage

    plot_sample_counts(musica, sample_names, table_name = NULL)

### Arguments

`musica` | A `musica` object.
`sample_names` | Names of the samples to plot.
`table_name` | Name of table used for plotting counts. If `NULL`, then the first table in the `musica` object will be used. Default `NULL`.

### Value

Generates a ggplot object

### Examples

    data(musica_sbs96)
    plot_sample_counts(musica_sbs96, sample_names =
    sample_names(musica_sbs96)[1])

[Package musicatk version 1.2.0 Index]