patients.plot {SparseSignatures} | R Documentation

## patients.plot

### Description

Plot trinucleotides counts for a set of given patients.

### Usage

    patients.plot(
      trinucleotides_counts,
      samples = rownames(trinucleotides_counts),
      freq = FALSE,
      xlabels = FALSE
    )

### Arguments

`trinucleotides_counts` | trinucleotides counts matrix.
`samples` | name of the samples. This should match a rownames in trinucleotides_counts.
`freq` | boolean value; shall I display rates instead of counts?
`xlabels` | boolean value; shall I display x labels?

### Value

A ggplot2 object.

### Examples

    data(patients)
    patients.plot(trinucleotides_counts=patients,samples=c("PD10010a","PD10011a","PD10014a"))

[Package SparseSignatures version 2.0.0 Index]