tbl2hmap: convert long tibble to pheatmap data input

Description Usage Arguments Value

View source: R/tbl2hmap.R

Description

convert long tibble to pheatmap data input

Usage

1
2
3
4
5
6
7
8
tbl2hmap(
  tbl.long,
  rowVar,
  colVar,
  valueVar,
  colAnnVars = NULL,
  rowAnnVars = NULL
)

Arguments

tbl.long

tibble in long format

rowVar

column name used as row for pheatmap matrix

colVar

column name used as column for pheatmap matrix

valueVar

column name used as the values for pheatmap matrix

colAnnVars

column name(s) used for additonal column annotation

rowAnnVars

column name(s) used for additonal row annotation

Value

a list with 3 components: mat, rowAnn, colAnn


htc502/ewrefxn documentation built on Feb. 2, 2020, 9:14 a.m.