Learn R Programming

debrowser (version 1.0.8)

runHeatmap: runHeatmap

Description

Creates a heatmap based on the user selected parameters within shiny.

Usage

runHeatmap(data, title = "Title", dend = "both", names = FALSE, clustering_method = c("ward.D2", "complete", "single", "average", "mcquitty", "median", "centroid"), distance_method = c("euclidean", "cor", "maximum", "manhattan", "canberra", "binary", "minkowski"))

Arguments

data,
a matrixthat includes expression values
title,
title of the heatmap
dend,
dendogram
names,
a flag to show the rownames
clustering_method
= c('complete', 'ward.D2', 'single', 'average', 'mcquitty', 'median' , 'centroid')
distance_method
= c('cor','euclidean', 'maximum', 'manhattan', 'canberra', 'binary' ,'minkowski')

Value

heatmap.2 plot

Examples

Run this code
    x <- runHeatmap(mtcars)

Run the code above in your browser using DataLab