Learn R Programming

biclust (version 2.0.3.1)

biclustbarchart: Bicluster Barchart

Description

Draws a barchart for a Bicluster result representing the columns

Usage

biclustbarchart(x, Bicres, which=NULL, ...)

Arguments

x

The data matrix

Bicres

BiclustResult object with a bicluster result set. If this value is set to NULL, the data matrix is drawn as a heatmap, without any reordering. Default NULL.

which

If specified gives the ploting order of the columns from bottom to top

...

Additional plot options passed to barchart

See Also

bubbleplot for simultaneous representation of biclusters, parallelCoordinatesfor single representation of biclusters as lines of gene or condition profiles, drawHeatmapfor Heatmap representation of biclusters and biclustmember for a membership graph.

Examples

Run this code
  set.seed(1)
  x=matrix(rnorm(900),30,30)
  x[1:5,1:5]=rnorm(25,3,0.3)
  x[11:15,11:15]=rnorm(25,-3,0.3)
  x[21:25,21:25]=rnorm(25,6,0.3)
  colnames(x)<-paste("Var.",1:30)
  bics <- biclust(x,BCPlaid(), back.fit = 2, shuffle = 3, fit.model = ~m
+ a + b, iter.startup = 5, iter.layer = 30,  verbose = TRUE)  
  biclustbarchart(x,bics, col="#A3E0D8")
  ord<-bicorder(bics, cols=TRUE, rev=TRUE)
  biclustbarchart(x,bics,which=ord)
  

Run the code above in your browser using DataLab