Description Usage Arguments Author(s) See Also Examples
Plots a fsa
object. For each selected channel, a line is drawn bewteen measured fluorescence intensities (y axis) along the electrophoresis time (x axis).
1 2 3 4 5 | ## S3 method for class 'fsa'
plot(x, units = NA, channels = NA, chanColors = NA, ladder = TRUE,
offScaleCol = "#FF0000", offScalePch = "+", offScaleCex = 0.4, bg = "white",
fg = "black", title = "", xlab = NA, ylab = "Intensity", xlim = NA, ylim = NA,
xaxt = "s", yaxt = "s", bty = "o", xaxp = NA, nticks = 5, all.bp = TRUE, ...)
|
x |
The |
units |
Single character value, the unit to use on x axis. "index" uses the raw index contained in files, "bp" usess base pair estimations but needs the object to be aligned first using |
channels |
Character or integer vector, the channels to plot. If |
chanColors |
Character vector defining colors to use to plot channels. Can be named according to channel names stored in |
ladder |
Single logical value, whether to add an x axis with size ladder peaks or not. Raises a warning if |
offScaleCol |
To be passed to |
offScalePch |
To be passed to |
offScaleCex |
To be passed to |
bg |
See |
fg |
See |
title |
Single character value, the main title to print on the plot. |
xlab |
See |
ylab |
See |
xlim |
See |
ylim |
See |
xaxt |
See |
yaxt |
See |
bty |
See |
xaxp |
See |
nticks |
Single integer value. When |
all.bp |
Single logical value, whether to force an unlabeled axis tick at each bp when |
... |
Further arguments to be passed to |
Sylvain Mareschal
1 2 3 4 5 6 7 8 9 10 11 12 | # Example FSA file provided
fsa <- read.fsa(system.file("extdata/fsa/A5918.fsa", package="MLPA"))
# Plot whole profile
plot(fsa)
# Plot subset of the profile (time index)
plot(fsa, units="index", xlim=c(4000,5000))
# Plot subset of the profile (base pairs)
fsa <- align.fsa(fsa)
plot(fsa, units="bp", xlim=c(80,130))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.