Description Arguments Details Note Author(s) See Also Examples
Creates a barplot of mean perfect match and mismatch intensities.
Usage
pmplot(x,
which = "",
size = 0,
transfo = NULL,
method = "mean",
names = "namepart",
beside = TRUE,
col = c("red", "blue"),
legend = c("PM","MM"),
las = 2,
ylab = "mean intensities",
...)
x |
object of class |
which |
type of probes to be used, for details see |
size |
length of sequence to be generated as subset. |
transfo |
a valid function to transform the data, usually “log2”, or “0”. |
method |
method to compute average intensities, “mean” or “median”. |
names |
optional vector of sample names. |
beside |
logical. If |
col |
color of PM, MM bars. |
legend |
a vector of text used to construct a legend for the plot, or a logical indicating whether a legend should be included. |
las |
the style of axis labels. |
ylab |
a title for the y axis. |
... |
optional arguments to be passed to |
Produces barplots of mean perfect match and mismatch intensities for slot data
for an object of class DataTreeSet
.
For names=NULL
full column names of slot data
will be displayed while for
names="namepart"
column names will be displayed without name extension. If names
is a vector of column names, only these columns will displayed as pmplot.
Data must first be attached to class DataTreeSet
using method attachInten
.
Christian Stratowa
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## load existing ROOT scheme file and ROOT data file
scheme.test3 <- root.scheme(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
data.test3 <- root.data(scheme.test3, paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))
## need to attach scheme mask and probe intensities
data.test3 <- attachMask(data.test3)
data.test3 <- attachInten(data.test3)
if (interactive()) {
pmplot(data.test3)
}
## optionally remove mask and data to free memory
data.test3 <- removeInten(data.test3)
data.test3 <- removeMask(data.test3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.