barcode_binary_heatmap {barcodetrackR} | R Documentation

## Barcode Binary Heatmap

### Description

Creates a binary heatmap showing the absence or presence of new clones in samples ordered from L to R in the SummarizedExperiment.

### Usage

    barcode_binary_heatmap(
      your_SE,
      plot_labels = NULL,
      threshold = 0,
      your_title = NULL,
      label_size = 12,
      return_table = FALSE
    )

### Arguments

`your_SE` | A Summarized Experiment object.
`plot_labels` | Vector of x axis labels. Defaults to colnames(your_SE).
`threshold` | Clones with a proportion below this threshold will be set to 0.
`your_title` | The title for the plot.
`label_size` | The size of the column labels.
`return_table` | Logical. Whether or not to return table of barcode sequences with their presence or absence in each sample indicated as a 1 or 0 resepctively in the value column column.

### Value

Displays a binary heat map in the current plot window. Or if return_table is set to TRUE, returns a dataframe indicating the presence or absence of each barcode in each sample.

### Examples

    data(wu_subset)
    barcode_binary_heatmap(your_SE = wu_subset[, 1:4])

[Package barcodetrackR version 1.0.0 Index]