Skip to contents

Produces a Coereba Heatmap showing Coereba Clusters by Markers

Usage

Utility_Heatmap(binary, panel, export = FALSE, outpath = NULL, filename = NULL)

Arguments

binary

A data.frame of markers by cluster

panel

A csv or data.frame containing Fluorophore and Marker

export

Whether to export as a .png, default is FALSE

outpath

File.path to the desired storage location

filename

File name for exported image

Value

A ggplot locally or to export location

Examples


File_Location <- system.file("extdata", package = "Coereba")
panelPath <- file.path(File_Location, "ILTPanelTetramer.csv")
panelData <- read.csv(panelPath, check.names=FALSE)
binaryPath <- file.path(File_Location, "HeatmapExample.csv")
binaryData <- read.csv(binaryPath, check.names=FALSE)

ThePlot <- Utility_Heatmap(binary=binaryData, panel=panelPath,
 export=FALSE, outpath=NULL, filename=NULL)