ggheatmap_cor2: Correlation heatmap of two matrix

Description Usage Arguments Author(s) Examples

View source: R/ggheatmap_cor2.R

Description

Correlation heatmap of two matrix

Usage

1
2
3
4
5
6
7
8
ggheatmap_cor2(
  data1,
  data2,
  clust = TRUE,
  both = FALSE,
  method = "spearman",
  limits = c(-1, 1)
)

Arguments

data1

the numeric matrix

data2

the numeric matrix

clust

logic value to indicate whether cluster or not

both

Logic value to show both the coefficient and the p values

method

the method of correlation one the "pearson" and "spearman"

limits

the color range, default value is c(-1, 1)

Author(s)

Zhonghui Gai

Examples

1

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