View source: R/plot.lineupdist.R
plot.lineupdist | R Documentation |
Plot histograms of self-self and self-nonself distances from a distance
matrix calculated by distee()
or disteg()
.
## S3 method for class 'lineupdist'
plot(x, breaks = NULL, add.rug = TRUE, what = c("both", "ss", "sn"), ...)
x |
Output of |
breaks |
Optional vector of breaks, passed to
|
add.rug |
If true, also include |
what |
Indicates whether to plot both self-self and self-nonself
distances (or correlations) or just one or the other. ( |
... |
Ignored at this point. |
We call pulldiag()
and omitdiag()
to get the
self-self and self-nonself distances.
If all of the self-self distances are missing, we plot just the self-nonself distances.
None.
Karl W Broman, broman@wisc.edu
pulldiag()
, distee()
,
plot2dist()
data(expr1, expr2)
# distance as correlation
d <- distee(expr1, expr2, "cor")
# plot histograms of self-self and self-nonself correlations
plot(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.