Description Usage Arguments Value Examples
smoothScatter method for PCA class
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | smoothScatter(
x,
y = NULL,
nbin = 128,
bandwidth,
colramp = colorRampPalette(c("white", blues9)),
nrpoints = 100,
ret.selection = FALSE,
pch = ".",
cex = 1,
col = "black",
transformation = function(x) x^0.25,
postPlotHook = box,
xlab = NULL,
ylab = NULL,
xlim,
ylim,
xaxs = par("xaxs"),
yaxs = par("yaxs"),
...
)
## S4 method for signature 'PCA'
smoothScatter(
x,
y = NULL,
nbin = 128,
bandwidth,
colramp = colorRampPalette(c("white", blues9)),
nrpoints = 100,
ret.selection = FALSE,
pch = ".",
cex = 1,
col = "black",
transformation = function(x) x^0.25,
postPlotHook = box,
xlab = NULL,
ylab = NULL,
xlim,
ylim,
xaxs = par("xaxs"),
yaxs = par("yaxs"),
...,
comps = c(1, 2),
pcType = "pcaScores",
label = FALSE,
labelThreshold = 1
)
|
x |
object of class PCA |
y |
numeric usually NULL |
nbin |
numeric |
bandwidth |
numeric vector length 1 or 2 |
colramp |
numeric |
nrpoints |
numeric |
ret.selection |
logical |
pch |
character |
cex |
numeric |
col |
character |
transformation |
function |
postPlotHook |
box |
xlab |
NULL |
ylab |
NULL |
xlim |
numeric |
ylim |
numeric |
xaxs |
par |
yaxs |
par |
... |
additional args |
comps |
numeric |
pcType |
character |
label |
boolean |
labelThreshold |
numeric |
graphical output
1 2 3 4 5 | library(tofsimsData)
data(tofsimsData)
testImage<-PCAnalysis(testImage, nComp = 4)
smoothScatter(analysis(testImage, 1), comps = c(1,2),
pcType = 'pcaScores', xlab = 'comp 1', ylab = 'comp 2')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.