| pulldiag | R Documentation |
Pull out the diagonal from a distance matrix calculated by
distee() (that is, self-self distances).
pulldiag(d)
d |
A distance matrix calculated by |
We use the row and column names to identify which entries are self-self.
A vector with the self-self distances.
Karl W Broman, broman@wisc.edu
omitdiag(), distee(), disteg(),
summary.lineupdist(), plot2dist(),
plot.lineupdist()
data(expr1, expr2)
# distance as RMS difference
d <- distee(expr1, expr2)
# pull out the self-self distances
d_selfself <- pulldiag(d)
# samples with smallest self-self correlation
sort(d_selfself)[1:10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.