Description Usage Arguments Details References See Also Examples
S3 method for class gmdm
1 2 3 4 |
x |
an object of class |
labels |
a string vector of the same length as |
colors |
the colors of the discrete distributions; the default is "Dark2" colors in ColorBrewer palettes if not specified. |
type |
type of plot, as in |
main |
an overall title for the plot. See |
ylab |
a title for the y axis. See |
xlab |
a title for the x axis. See |
label.length.max |
numeric, giving the maximum string width allowed in diagonal labels. |
label.line.max |
numeric, giving the maximum number of lines allowed in diagonal labels. |
cex.text |
a numerical value giving the amount by which plot text should be magnified relative to the default. |
cex.tickmark |
a numerical value giving the amount by which tickmarks should be magnified relative to the default. |
if.plot.new |
logical, indicating whether to start a new plot device. |
... |
arguments to be passed to methods, see |
S3 method for class gmdm
See help(GMD)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## ------------------------------------------------------------------------
## Example1: CAGE
## ------------------------------------------------------------------------
require("GMD") # load library
data(cage) # load data
## construct a distance matrix and visualize it
short.labels <- gsub("(.+) \\(.+","\\1",names(cage)) # get short labels
x <- gmdm(cage[1:6],labels=short.labels[1:6])
plot(x)
## Not run:
## ------------------------------------------------------------------------
## Example2: ChIP-seq
## ------------------------------------------------------------------------
data(chipseq_mES) # load data
data(chipseq_hCD4T) # load data
## pairwise distance and alignment based on GMD metric
plot(gmdm(chipseq_mES,sliding=FALSE))
## clustering on spatial distributions of histone modifications
x <- gmdm(chipseq_hCD4T,sliding=FALSE,resolution=10)
heatmap.3(x,revC=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.