pheatmapTargets2: Plot heatmap(s) of gene expression using different distance...

Description Usage Arguments Value

Description

Plot heatmap(s) of gene expression using different distance calculation methods.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pheatmapTargets2(
  expLog2,
  targets,
  methods = c("manhattan", "euclidean"),
  colorsFrom = "color_",
  namesFrom = NULL,
  filePath = NULL,
  width = 7,
  height = 7,
  treeheight_row = 0,
  ...
)

Arguments

expLog2

Expression matrix (preferably in log2 scale) with genes in rows and samples in named columns

targets

Phenotype data with columns with colors, e.g., color_Sex

methods

List of methods for distance calulation, individually passed to stats::dist(..., method)

colorsFrom

String passed to getColPats2

namesFrom

Variable passed to getColPats2

filePath

NULL or character; if given, output a PDF; default NULL

width

PDF width

height

PDF height

treeheight_row

Passed to pheatmap; default 0; 50 for pheatmap

...

Passed to pheatmap

Value

ggplot2 object and PDF if filePath is given


peterjuv/FunGenPipe documentation built on June 18, 2021, 3:38 a.m.