tardbpdms__single_mutant_heatmap: tardbpdms__single_mutant_heatmap

Description Usage Arguments Value

View source: R/tardbpdms__single_mutant_heatmap.R

Description

ggplot tile heatmap wrapper.

Usage

1
2
3
4
5
tardbpdms__single_mutant_heatmap(input_df, variable_name = "fitness",
  mut_dict = NULL, text_size = 2.5, output_file, colour_low = "blue",
  colour_high = "red", width = 12, height = 4,
  x_annotation = "position", xaxis_angle = 90, na_colour = "grey50",
  na_text = "", cluster = "none")

Arguments

input_df

matrix of heatmap values (required)

variable_name

name of variable to use for heatmap cells (defaut:"fitness")

mut_dict

list of mutant codes where name is used to label the corresponding cells

text_size

text size (default:2.5)

output_file

path to output file (required)

colour_low

colour scale lower limit colour – passed to scale_colour_gradient2 (default:"blue")

colour_high

colour scale upper limit colour – passed to scale_colour_gradient2 (default:"red")

width

plot width in "units" (default:12)

height

plot height in "units" (default:4)

x_annotation

x-axis title (default:"position")

xaxis_angle

rotation angle for x tick labels – passed to element_text (default:90)

na_colour

colour to use for NA values (default:"grey50")

na_text

cell text annotation to use for NA values (default:empty string)

cluster

heirarchically cluster (default:none)

Value

Nothing


lehner-lab/tardbpdms documentation built on July 19, 2019, 7:24 p.m.