biclustbarchart: Bicluster Barchart

View source: R/biclustbarchart.r

biclustbarchartR Documentation

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

Author(s)

Sebastian Kaiser sebastian.kaiser@stat.uni-muenchen.de

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

  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)
  


biclust documentation built on May 31, 2023, 6:18 p.m.