plot2dist {lineup} | R Documentation |
Plot two sets of inter-individual distances against one another
Description
Plot two sets of inter-individual distances against one another, colored by self and non-self distances.
Usage
plot2dist(
d1,
d2,
hirow = NULL,
hicol = NULL,
xlab = NULL,
ylab = NULL,
smoothScatter = FALSE,
colself = "black",
colnonself = "gray",
colhirow = "green",
colhicol = "orange",
...
)
Arguments
d1 |
Output of |
d2 |
Output of |
hirow |
Names of rows to highlight in green. |
hicol |
Names of columns to highlight in orange. |
xlab |
X-axis label (optional) |
ylab |
Y-axis label (optional) |
smoothScatter |
If TRUE, plot non-self distances with
|
colself |
Color to use for the self-self points. If NULL, these aren't plotted. |
colnonself |
Color to use for the non-self points. If NULL, these aren't plotted. |
colhirow |
Color to use for the |
colhicol |
Color to use for the |
... |
Passed to |
Value
None.
Author(s)
Karl W Broman, broman@wisc.edu
See Also
pulldiag()
, distee()
,
summary.lineupdist()
Examples
data(expr1, expr2)
# distances as RMS difference and correlation
d_rmsd <- distee(expr1, expr2, "rmsd")
d_cor <- distee(expr1, expr2, "cor")
# plot distances against one another
plot2dist(d_rmsd, d_cor)