HeatMapPlot: Plot a heatmap

Description Usage Arguments Details Note Author(s) References See Also Examples

View source: R/PlotHeatMap.R

Description

Plot a heatmap of a microRNA(miRNA) expression

Usage

1
2
HeatMapPlot(V, row.names = FALSE, col.labels, col.classes, col.names = FALSE, 
main = " ", xlab = " ", ylab = " ")

Arguments

V

A miRNA expression matrix

row.names

A name list of row vector,default=FALSE

col.labels

Phenotype of class disticntion of interest. A vector of binary labels having first the 1's and then the 0's

col.classes

phenotype name

col.names

A name list of samples,default=FALSE

main

a main title for the heatmap

xlab

a label for the x axis, defaults to a description of x

ylab

a label for the y axis, defaults to a description of y

Details

Plots a heatmap of a miRNA expression matrix including phenotype vector and miRNA, sample and phenotype labels

Note

return a heatmap

Author(s)

Junwei Hanhanjunwei1981@163.com,Siyao Liu liusiyao29@163.com

References

Andy Liaw, original,R. Gentleman, M. Maechler, W. Huber.

See Also

PlotHeatMap

Examples

1
2
3
4
5
6
7
8
#example of expression profile
V<-matrix(runif(200),10,20)
#example of class.labels ("0"or "1")
 a1<-rep(0,20)
a1[sample(1:20,5)]=1
#plot heat map
 HeatMapPlot(V =V, row.names = FALSE, col.labels = a1, col.classes =c("a","b"), col.names =FALSE,
 main =" Heat Map for MiRs in MiR Set", xlab=" ", ylab=" ")

hanjunwei-lab/MiRSEA documentation built on July 5, 2020, 11:02 a.m.