Description Arguments Value 2D dotplots Author(s) Examples
Plot either a single feature from an ExpressionSet as a dotplot (default is sorted low to high), or generate a 2D dotplot from combinations of 2 ExpressionSet's, or ExpressionSet and a named numeric, where those names overlap with the featureNames from the ExpressionSet. As always, the 2D objects need to have some overlap in their names, but otherwise, data unique to each set will be silently ignored.
x |
an ExpressionSet |
y |
an ExpressionSet, or missing. |
sort |
logical: if |
feature |
the index or name of the feature to plot. default=1. In the 2D case, if the feature exists in both ExpressionSet's then that will be seleected. If plotting different features from x and y, then leave feature=1, and select the feature of interest from each expression set using '['. see examples. |
xlab |
see par |
ylab |
see par |
main |
see par |
add.mean |
logical: add a horizontal line about the mean of that feature |
samples |
an optional character vector of sample names to highlight and label in red. |
lowess.col |
the colour of the 2D loess line.
|
nothing
these are just xy plots; if x and or y is an ExpressionSet, then the first feature will be extracted from each; use the '[' operator to subset either x or y if necessary.
Mark Cowley, 2012-10-16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
hent3 <- x["SLC29A3", ]
dotplot(hent3, sort=T, samples="APGI_1966")
dotplot(x, feature="SLC29A3", sort=T, samples="APGI_1966")
num <- rnorm(80); names(num) <- sampleNames(x)[1:80]
dotplot(hent3, num)
dotplot(num, hent3)
dotplot(x["BRCA2",], x["BRCA1", ])
dotplot(x, x, feature="BRCA1")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.