Description Details Slots See Also Examples
The S3 object returned after running harman
.
harmanresults
is the S3 object used to store the results from
harman
.
This object may be presented to summary and data exploration functions such
as plot.harmanresults
and summary.harmanresults
as well as the
reconstructData
function which creates a corrected matrix of
data with the batch effect removed.
factors
A data.frame
of the expt
and batch
vectors.
parameters
The harman runtime parameters. See harman
for details.
stats
Confidence intervals and the degree of correction for each pricipal component.
center
The centering vector returned by prcomp
with
center=TRUE
.
rotation
The matrix of eigenvectors (by column) returned from
prcomp
.
original
The original PC scores returned by prcomp
.
corrected
The harman corrected PC scores.
harman
, reconstructData
,
pcaPlot
, arrowPlot
1 2 3 4 5 6 7 8 9 10 11 | ## HarmanResults
library(HarmanData)
data(OLF)
expt <- olf.info$Treatment
batch <- olf.info$Batch
olf.harman <- harman(as.matrix(olf.data), expt, batch)
plot(olf.harman)
summary(olf.harman)
pcaPlot(olf.harman, pc_x=2, pc_y=3)
pcaPlot(olf.harman, pc_x=2, pc_y=3, colBy='expt', pch=1)
olf.data.corrected <- reconstructData(olf.harman)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.