Learn R Programming

OncoSubtype (version 1.0.0)

PlotHeat: Plot heatmap of the train set or test set

Description

Plot heatmap of the train set or test set

Usage

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

Value

a pheatmap object

Arguments

object

a SubtypeClass object

set

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

...

Parameters passed to pheatmap.

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab