Description Usage Arguments Details Value Examples
A wrapper for flowViz::densityplot()
with defaults for
DNA profiles.
1 |
... |
Arguments to be handed to |
chan |
An option character scalar identifying the data to be
plotted if |
bw, n, adjust |
Parameters passed to the kernel density function
|
This is a convenience function with parameters more suited for
typical DNA profiles by using the bandwidth algorithm of Sheather
& Jones in bw.SJ
with the adjustment in adjust
and using more
points (512 rather than 50) to determine the density.
The call effectively executes the following:
1 |
Except for the lazy case of calling it with first argument a
flowSet
or flowFrame
. In this case the function guesses
the most likely chan
parameter (in order) from FL2.A, FL3.A, FL2.H
or FL3.H
. Alternatively, the channel name can be passed in chan
and
the call now becomes:
1 |
Plot the data and invisibly return the lattice object.
1 2 3 4 5 6 7 8 9 10 11 | # load and filter example data with 16 flowFrames
fs <- readSet(system.file("extdata", "synch/", package = "flowExtra"))
fs <- Subset(fs, boundaryFilter("FL2.A"))
# default density parameters from flowViz
densityplot(~ FL2.A, fs, xlim = c(50, 500),
main = "Default parameters for densityplot")
# revised density parameters
dnaplot(~ FL2.A, fs, xlim = c(50, 500),
main = "Refined parameters for 'dnaplot'")
# lazy use if "FL2.A" is present
dnaplot(fs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.