HeatMapPlot | R Documentation |
Plot a heatmap of a microRNA(miRNA) expression
HeatMapPlot(V, row.names = FALSE, col.labels, col.classes, col.names = FALSE,
main = " ", xlab = " ", ylab = " ")
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 |
Plots a heatmap of a miRNA expression matrix including phenotype vector and miRNA, sample and phenotype labels
return a heatmap
Junwei Hanhanjunwei1981@163.com,Siyao Liu liusiyao29@163.com
Andy Liaw, original,R. Gentleman, M. Maechler, W. Huber.
PlotHeatMap
#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=" ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.