PlotHeat {OncoSubtype}R Documentation

Plot heatmap of the train set or test set

Description

Plot heatmap of the train set or test set

Usage

PlotHeat(object, set = "test", ...)

Arguments

object

a SubtypeClass object

set

options could be 'test', 'train' or 'both'. Default 'test'.

...

Parameters passed to pheatmap.

Value

a pheatmap object

Examples

## Not run: 
library(OncoSubtype)
data <- get_median_centered(example_fpkm)
data <- assays(data)$centered
rownames(data) <- rowData(example_fpkm)$external_gene_name
object <- MLSubtype(data, disease = 'LUSC')
PlotHeat(object, set = 'both', fontsize = 10, show_rownames = FALSE, show_colnames = FALSE)

## End(Not run)

[Package OncoSubtype version 1.0.0 Index]