discretize: Create a discret matrix

Description Usage Arguments Author(s) Examples

View source: R/helpers.r

Description

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.

Usage

1
discretize(x,nof=10,quant=FALSE)

Arguments

x

The data matrix from which should be dicretized

nof

Number of levels

quant

If TRUE using the quantiles, else using equally spaced levels

Author(s)

Sebastian Kaiser sebastian.kaiser@stat.uni-muenchen.de

Examples

1
2
3
4
5
  #Discretize yeast microarray data
  data(BicatYeast)
  discretize(BicatYeast[1:10,1:10])

  

biclust documentation built on May 2, 2019, 5:56 p.m.

Related to discretize in biclust...