discretize | R Documentation |
Some biclusteralgorithms need a discret matrix to perform well. This function delivers a discret matrix with either a given number of levels of equally spaced intervals from minimum to maximum, or levels of same size using the quantiles.
discretize(x,nof=10,quant=FALSE)
x |
The data matrix from which should be dicretized |
nof |
Number of levels |
quant |
If TRUE using the quantiles, else using equally spaced levels |
Sebastian Kaiser sebastian.kaiser@stat.uni-muenchen.de
#Discretize yeast microarray data
data(BicatYeast)
discretize(BicatYeast[1:10,1:10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.