plot_heatmap: Create GGPLOT Heatmap

View source: R/graphics_related.R

plot_heatmapR Documentation

Create GGPLOT Heatmap

Description

Using a ggplot2 tile geometry this function will create a heatmap of values in the report coloured by incompatibility group, with alpha values from the sureness score. The order of samples is determined by order_report and plasmids by incompatibility group and sureness score.

Usage

plot_heatmap(report, len.highlight = NA)

Arguments

report

Dataframe of results

len.highlight

If anything but NA will highlight the largest plasmid hit per incompatibility group

Value

GGPLOT plotted heatmap

Examples

## Not run: 
plot_heatmap(report)

## End(Not run)

phac-nml/plasmidprofiler documentation built on June 11, 2022, 11:25 a.m.