plot_gg_heatmap_terms: Plots heatmap with dendrograms

View source: R/plot_gg_heatmap_terms.R

plot_gg_heatmap_termsR Documentation

Plots heatmap with dendrograms

Description

Plots heatmap with dendrograms

Usage

plot_gg_heatmap_terms(
  data_,
  TERMS = "mitochondrion",
  TERM2GENE,
  observations.order,
  label.proteins = T,
  label.observations = T,
  label.terms = T,
  indicate.clusters = T,
  k,
  cluster.line.width = 0.5,
  term.lines.height = 0.5,
  term.lines.width = 0.9,
  color.term.lines = "#A18276",
  color.cluster.annotation = "#463730",
  ratio.hm = 3,
  abs.height = 6,
  rel.width.hm.terms = 1,
  rel.width.dend.y = 0.2,
  rel.width.labels.y = 0.3,
  rel.height.dend.x = 0.05,
  rel.height.labels.x = 0.2,
  custom.theme.terms = theme_hjv_heatmap_only,
  terms.distance.method = "euclidean",
  terms.clustering.method = "complete",
  export = T,
  file = "heatmap.pdf"
)

Arguments

data_

data

label.proteins

should proteins be labeled on the y-axis?

rel.width.dend.y

relative width of y-axis dendrogram

rel.width.labels.y

width of labels (must be optimized)

rel.height.dend.x

relative height of x-axis dendrogram

export

export plot as pdf

file
height

plot height in inch for export

ratio

y/x ratio of heat map


nicohuttmann/pOmics documentation built on Sept. 21, 2022, 9:28 a.m.