pheatmap2: A swap function of pheatmap, the inputs can be one or two...

Description Usage Arguments Author(s) Examples

View source: R/pheatmap2.R

Description

A swap function of pheatmap, the inputs can be one or two matix

Usage

1
2
3
4
5
6
7
8
pheatmap2(
  data1,
  data2 = NULL,
  cluster = FALSE,
  display_numbers = TRUE,
  cellwidth = 15,
  cellheight = 15
)

Arguments

data1

a numeric matrix

data2

a numeric matrix

cluster

logic value to indicate whether to cluster or not

display_numbers

logic value

cellwidth

cellwidth

cellheight

cellheight

Author(s)

Zhonghui Gai

Examples

1
2
3
4
5
6
pheatmap2(iris[, -5])
pheatmap2(iris[c(1:10, 60:70, 100:110), -5])
pheatmap2(iris[, -5], cluster = T)
pheatmap2(iris[, -5], iris[, -5])
pheatmap2(iris[c(1:10, 60:70, 100:110), -5], display_numbers = T)
pheatmap2(t(iris[c(1:10, 60:70, 100:110), -5]), display_numbers = T, cellwidth = 25, cellheight = 25)

ZhonghuiGai/ggheatmap documentation built on Dec. 18, 2021, 8:28 p.m.