plot_heatmap: Plot Heatmap of Specific Gene

View source: R/plot_heatmap.R

plot_heatmapR Documentation

Plot Heatmap of Specific Gene

Description

If working with a lot of data it is recommended to filter your df first, and then pass it into the plot_heatmap() function

Usage

plot_heatmap(df, columns = "SAMPLE", rows = "SNV", na.value = 0)

Arguments

df

A tibble or dataframe from one of the get outbreak functions

columns

The column name from df to use as columns in the heatmap

rows

The column name from df to use as rows in the heatmap

na.value

The numerical value to set the NA values to. Changing this (from 0 to -1) can affect the "chaining" effect of clustering.


jeffkimbrel/MappgeneSummary documentation built on Dec. 24, 2024, 3:12 p.m.