
visCompReorder
is supposed to visualise multiple
component planes reorded within a sheet-shape rectangle
grid
visCompReorder(sMap, sReorder, margin = rep(0.1, 4), height = 7,
title.rotate = 0, title.xy = c(0.45, 1), colormap = c("bwr", "jet",
"gbr", "wyr", "br", "yr", "rainbow", "wb"), ncolors = 40, zlim = NULL,
border.color = "transparent", gp = grid::gpar())
visVp
, visHexComp
,
visColorbar
, sCompReorder
# 1) generate data with an iid matrix of 1000 x 9
data <- cbind(matrix(rnorm(1000*3,mean=0,sd=1), nrow=1000, ncol=3),
matrix(rnorm(1000*3,mean=0.5,sd=1), nrow=1000, ncol=3),
matrix(rnorm(1000*3,mean=-0.5,sd=1), nrow=1000, ncol=3))
colnames(data) <- c("S1","S1","S1","S2","S2","S2","S3","S3","S3")
# 2) sMap resulted from using by default setup
sMap <- sPipeline(data=data)
# 3) reorder component planes
sReorder <- sCompReorder(sMap=sMap, amplifier=2, metric="none")
# 4) visualise multiple component planes reorded within a sheet-shape rectangle grid
visCompReorder(sMap=sMap, sReorder=sReorder, margin=rep(0.1,4),
height=7,
title.rotate=0, title.xy=c(0.45, 1), colormap="gbr", ncolors=10,
zlim=c(-1,1),
border.color="transparent")
Run the code above in your browser using DataLab