list
of data.frame
s
or matrix
mcia(df.list, cia.nf = 2, cia.scan = FALSE, nsc = T, svd = TRUE)
"plot"(x, axes = 1:2, sample.lab = TRUE, sample.legend = TRUE, sample.color = 1, phenovec = NULL, df.color = 1, df.pch = NA, gene.nlab = 0, ...)
data.frame
s, matrix
or ExpressionSet
is going to be analyzed,
the column number must be the same and mapped across all data.frame
/matrix
cia.nf
) can be selected interactively. Default value is FALSE.
dudi.nsc
. The default =TRUE is highly
recommended. If FALSE, COA dudi.coa
will be performed on the first data.frame
, and row weighted
COA dudi.rwcoa
will be performed on
the rest ones using the row weights from the first one.
data.frame
in df.list
.
data.frame
.
The length of this argument should be either one (all datasets use the same
colour) or the same number of datasets (each dataset has a specified colour, the
repetitive use of colour code is allowed.)
pch
for plotting variable (gene) space. The default is NA, the function
will distinguish datasets by default. Otherwise, the length of this argument
should be either one (all datasets use the same pch
) or the same number
of datasets (each dataset has a specified pch
).
data.frame
s.
mcia
data.frame
in the df.list
must be the same,
and the same column
from different data.frame
should be matchable. For example, Microarray
profiling for the same set of cell lines, patients and etc. mcia
calls dudi.nsc
,
ktab
and mcoa
in ade4
packages.
Plotting and visualizing mcia
results
Two functions could be used to visualize the result of mcia
:
The first is plot.mcia
,
which results in four plots. Top left represents the sample space. Individuals
from the same column of different data.frame
s are linked by edges.
Different platforms are distinguished by the shape of points.
Top right shows the variable space, datasets are marked by different colours.
Bottom left represents the eigenvalue scree plot.
The pseudo-eigenvalue space of all data.frame
s are visualized in the bottom right panel.
The second function is plotVar.mcia
, which could be used to
plot the variable space for different datasets as well as finding and visualizing the
variables (genes) across datasets.
Other methods
selectVar.mcia
: selecting variables (genes) according to the their coordinates.
mcoa
, plotVar
, plotVar
data(NCI60_4arrays)
mcoin <- mcia(NCI60_4arrays)
plot(mcoin, sample.lab=FALSE, df.col=4:7)
colcode <- sapply(strsplit(colnames(NCI60_4arrays$agilent), split="\\."),
function(x) x[1])
plot(mcoin, sample.lab=FALSE, sample.color=as.factor(colcode))
Run the code above in your browser using DataLab