Learn R Programming

omicade4 (version 1.12.0)

plotVar.mcia: Plot variable space of result from mcia

Description

Plot variable space of mcia and visualize selected variables across datasets, the function is called by plotVar.

Usage

"plotVar"(x, var = NA, axes = 1:2, var.col = "red", var.lab = FALSE, bg.var.col = "gray", nlab = 0, sepID.data = NULL, sepID.sep = "_", df = NA, layout = NA, ...)

Arguments

x
An object of class mcia, the result returned by mcia.
var
see plotVar
axes
see plotVar
var.col
see plotVar
var.lab
see plotVar
bg.var.col
see plotVar
nlab
see plotVar
sepID.data
see plotVar
sepID.sep
see plotVar
df
Integers indicating which dataset should be plotted, the default NA means all datasets are plotted.
layout
The layout of multiple plots.
...
Other arguments

Value

If var is not NA, a data frame is return, with rows for variables of interest and columns of logical values indicating which data.frames contains which variables.

See Also

See Also as plotVar.cia, plotVar

Examples

Run this code
  data(NCI60_4arrays)
  mcoin <- mcia(NCI60_4arrays)
  plot.mcia(mcoin, sample.lab=FALSE, df.col=4:7)
  plotVar(mcoin, var=NA, bg.var.col=1:4,  var.lab=TRUE)
  plotVar(mcoin, var=c("SPOPL", "CAPN2", "SNX8"), 
          df=1:4, var.lab=TRUE, var.col=c("red", "green", "blue"))

Run the code above in your browser using DataLab