MaxBC {BiBitR} | R Documentation |
Finding Maximum Size Biclusters
Description
Simple function which scans a Biclust
result and returns which biclusters have maximum row, column or size (row*column).
Usage
MaxBC(result, top = 1)
Arguments
result |
A |
top |
The number of top row/col/size dimension which are searched for. (e.g. default |
Value
A list containing:
-
$row
: A matrix containing in the columns the Biclusters which had maximum rows, and in the rows the Row Dimension, Column Dimension and Size. -
$column
: A matrix containing in the columns the Biclusters which had maximum columns, and in the rows the Row Dimension, Column Dimension and Size. -
$size
: A matrix containing in the columns the Biclusters which had maximum size, and in the rows the Row Dimension, Column Dimension and Size.
Author(s)
Ewoud De Troyer
Examples
## Not run:
data <- matrix(sample(c(0,1),100*100,replace=TRUE,prob=c(0.9,0.1)),nrow=100,ncol=100)
data[1:10,1:10] <- 1 # BC1
data[11:20,11:20] <- 1 # BC2
data[21:30,21:30] <- 1 # BC3
data <- data[sample(1:nrow(data),nrow(data)),sample(1:ncol(data),ncol(data))]
result <- bibit(data,minr=2,minc=2)
MaxBC(result)
## End(Not run)