centralPlot plots distinctly the [np] most central observations, where [np] is the largest integer smaller than np, and the remaining most external ones, according to the modified band depth.
Lopez-Pintado, S. et al. (2010). Robust depth-based tools for the analysis of gene expression data. Biostatistics, 11 (2), 254-264.
Examples
## simulated data
set.seed(0)
x <- matrix(rnorm(100),10,10)
centralPlot(x,p=0.2)
## real data
data(prostate)
prost.x<-prostate[,1:100]
prost.y<-prostate[,101]
centralPlot(prost.x[prost.y==0,], p=0.5) ## 50 % most central normal samples
centralPlot(prost.x[prost.y==1,], p=0.5, gradient=TRUE, main='Tumor samples')
## 50 % most central tumoral samples