ColNoiseBC {BiBitR} | R Documentation |
Barplots of Column Noise for Biclusters
Description
Draws barplots of column noise of chosen biclusters. This plot can be helpful in determining which column label is often zero in noisy biclusters.
Usage
ColNoiseBC(result, matrix, BC = 1:result@Number, plot.type = "device",
filename = "ColNoise")
Arguments
result |
A Biclust Object. |
matrix |
Accompanying binary data matrix which was used to obtain |
BC |
Numeric vector to select of which BC's a column noise bar plot should be drawn. |
plot.type |
Output Type
|
filename |
Base filename (with/without directory) for the plots if |
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 <- bibit2(data,minr=5,minc=5,noise=1)
ColNoiseBC(result=result,matrix=data,BC=1:3)
## End(Not run)