ggheatmap_cor1: Correlation heatmap of one data frame, Only the lower...

Description Usage Arguments Value Author(s) Examples

View source: R/ggheatmap_cor1.R

Description

Correlation heatmap of one data frame, Only the lower triangle is shown

Usage

1
2
3
4
5
6
7
ggheatmap_cor1(
  data,
  clust = TRUE,
  both = FALSE,
  method = "spearman",
  limits = c(-1, 1)
)

Arguments

data

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)

Value

a ggplot object

Author(s)

Zhonghui Gai

Examples

1

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