ccn_hmClass: Heatmap of the classification result

View source: R/ccn_hmClass.R

ccn_hmClassR Documentation

Heatmap of the classification result

Description

This function generates a heatmap of the classification result for visualization

Usage

ccn_hmClass(
  classMat,
  grps = NULL,
  isBig = FALSE,
  cRow = FALSE,
  cCol = FALSE,
  fontsize_row = 4,
  fontsize_col = 4,
  main = NA,
  scale = FALSE,
  customAnnoColor = NULL,
  ...
)

Arguments

classMat

classification matrix generated from rf_classPredict

grps

a vector that maps samples to a group

isBig

TRUE if this is a big heatmap

cRow

TRUE if rows should be clustered

cCol

TRUE if columns should be clustered

fontsize_row

the font size of the row

fontsize_col

the font size of the columns

main

the title of the heatmap

scale

FALSE if the highest value is 1 and the lowest is 0

customAnnoColor

a named vector with colors and named with group names

Value

classification heatmap

Examples

ccn_HmClass(cnRes, isBig=TRUE)


pcahan1/cancerCellNet documentation built on July 16, 2022, 12:12 a.m.