Learn R Programming

biclust (version 2.0.3.1)

bicluster: Extract Bilcuster

Description

Function to extract the bicluster or the row and column numbers from a given bicluster result

Usage

bicluster(x, BicRes, number= 1:BicRes@Number)
biclusternumber(BicRes, number= 1:BicRes@Number)

Value

Returns a list containing all extracted bicluster

Arguments

x

The data matrix

BicRes

BiclustResult object

number

Which bicluster to be extracted

See Also

writeclust,writeBiclusterResults

Examples

Run this code

  s2=matrix(rnorm(400),20,20)
  s2[12:16,12:16]=rnorm(25,3,0.3)
  set.seed(1)
  bics <- biclust(s2,BCPlaid(), back.fit = 2, shuffle = 3, fit.model = ~m + a + b,
  iter.startup = 5, iter.layer = 30,  verbose = TRUE)
  bicluster(s2, bics)
  biclusternumber(bics)


Run the code above in your browser using DataLab