compare | R Documentation |
This function plots the centroids of the training set versus the average profiles of the new data classified in each group.
compare(obj, iC10=1:10, newdata, name.test="Test",...)
## S3 method for class 'iC10'
compare(obj, iC10=1:10, newdata, name.test="Test",...)
obj |
An object of class |
iC10 |
Groups to plot |
newdata |
Set of features of the new data to compare. They must be the same samples classified and contained in
|
name.test |
Name of the new data set to appear in the text of the plot |
... |
Additional arguments passed to |
A plot is returned with two plots per groups requested.
Oscar M. Rueda
Ali HR et al. Genome-driven integrated classification of breast cancer validated in over 7,500 samples. Genome Biology 2014; 15:431. Curtis et al. The genomic and transcriptomic architecture of 2,000 breast tumours reveals novel subgroups. Nature 2012; 486:346-352.
iC10
, plot.iC10
, matchFeatures
, normalizeFeatures
require(iC10TrainingData)
data(train.CN)
data(train.Exp)
features <- matchFeatures(Exp=train.Exp, Exp.by.feat="probe")
features <- normalizeFeatures(features, "scale")
res <- iC10(features)
compare(res, 1:3, newdata=features)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.