smoothScatter: generic for smoothScatter

Description Usage Arguments Value Examples

Description

generic for smoothScatter

smoothScatter method for PCA class

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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)

Arguments

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

Value

graphical output

Examples

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')


Search within the tofsims package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.