NoiseInfoBC: Noise Info for Biclusters

Description Usage Arguments Value Author(s) Examples

Description

Collect some info on the row noise distribution of each Bicluster of a Biclust object. The information collected are the row and column dimension, the maximum row noise and the number of rows which 0, 1, 2,... noise.

Usage

1
NoiseInfoBC(result, matrix, plot = FALSE, plot.BC = 1:result@Number)

Arguments

result

A Biclust Object.

matrix

Accompanying binary data matrix which was used to obtain result.

plot

Boolean value (default=FALSE) to create bar plots of the number of rows which have 0, 1, 2,... noise.

plot.BC

Vector for which BC's the barplots need to be created. (default = all biclusters)

Value

A data frame containing the following variables for all BC's: Row/Column Dimension, Maximum Row Noise and how many of the rows fit with 0 noise, 1 noise,...

Author(s)

Ewoud De Troyer

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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 <- bibit2(data,minr=5,minc=5,noise=1)
NoiseInfoBC(result=result,matrix=data)

## End(Not run)

ewouddt/BiBitR documentation built on May 16, 2019, 9:41 a.m.