plotBranchHeatmap {CytoTree}R Documentation

Visualization heatmap of branch data of CYT

Description

Visualization heatmap of branch data of CYT

Usage

plotBranchHeatmap(
  object,
  color = colorRampPalette(c("blue", "white", "red"))(100),
  scale = "row",
  ...
)

Arguments

object

A CYT object

color

vector. Colors used in heatmap.

scale

character. Whether the values should be centered and scaled in either the row direction or the column direction, or none. Corresponding values are "row", "column" and "none"

...

options to pass on to the pheatmap function.

Value

ggplot2 figure

Examples


cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
cyt <- readRDS(file = cyt.file)

plotBranchHeatmap(cyt)
plotBranchHeatmap(cyt, color = colorRampPalette(c("purple","white","yellow"))(100))
plotBranchHeatmap(cyt, cluster_row = FALSE)
plotBranchHeatmap(cyt, cluster_row = FALSE, cluster_col = FALSE)




[Package CytoTree version 1.0.3 Index]