get.heatmap: display classification results as heatmap

Description Usage Arguments Details Value Author(s) Examples

View source: R/get.heatmap.R

Description

Function to display the classification predictions as a heatmap

Usage

1
get.heatmap(res.list)

Arguments

res.list

the result list returned by the function classifyProfile or classifyProfile.rnaseq

Details

This function is based on the function ggplot from the R-package 'ggplot2'.

Value

This function is used only for the side effect of creating a heatmap.

Author(s)

Khadija El Amrani <khadija.el-amrani@charite.de>

Examples

1
2
3
4
5
6
7
8
library(sampleClassifierData)
data("se_micro_refmat")
micro_refmat <- assay(se_micro_refmat)
data("se_micro_testmat")
micro_testmat <- assay(se_micro_testmat)
res1.list <- classifyProfile(ref_matrix=micro_refmat, query_mat=micro_testmat,
chip1="hgu133plus2",chip2="hgu133a", write2File=FALSE)
get.heatmap(res1.list)

sampleClassifier documentation built on Jan. 21, 2021, 2:01 a.m.