Learn R Programming

s4vd (version 1.1-1)

BCheatmap: Overlap Heatmap for the visualization of overlapping biclusters

Description

Heatmap function to plot biclustering results. Overlapping biclusters are indicated by colored rectangles.

Usage

BCheatmap(X, res, cexR = 1.5, cexC = 1.25, axisR = FALSE, axisC= TRUE, heatcols = maPalette(low="blue",mid="white",high="red", k=50), clustercols = c(1:5), allrows = FALSE, allcolumns = TRUE)

Arguments

X
the data matrix
res
the biclustering result
cexR
relativ font size of the row labels
cexC
relativ font size of the column labels
axisR
if TRUE the row labels will be plotted
axisC
if TRUE the column labels will be plotted
heatcols
a character vector specifing the heatcolors
clustercols
a character vector specifing the colors of the rectangles that indicate the rows and columns that belong to a bicluster
allrows
if FALSE only the rows assigned to any bicluster will be plotted
allcolumns
if FALSE only the columns assigned to any bicluster will be plotted

Examples

Run this code

#lung cancer data set   Bhattacharjee et al. 2001
data(lung200)
set.seed(12)
res1 <- biclust(lung200,method=BCs4vd(),pcerv=.5,pceru=0.01,ss.thr=c(0.6,0.65)
,start.iter=3,size=0.632,cols.nc=TRUE,steps=100,pointwise=TRUE
,merr=0.0001,iter=100,nbiclust=10,col.overlap=FALSE)
BCheatmap(lung200,res1)

Run the code above in your browser using DataLab