Learn R Programming

Plasmidprofiler (version 0.1.6)

plot_heatmap: 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

Run this code
## Not run: 
# plot_heatmap(report)
# ## End(Not run)

Run the code above in your browser using DataLab