plot.lineupdist: Plot summary of inter-individual distances

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plot.lineupdist.R

Description

Plot histograms of self-self and self-nonself distances from a distance matrix calculated by distee or disteg.

Usage

1
2
3
## S3 method for class 'lineupdist'
plot(x, breaks = NULL, add.rug = TRUE,
  what = c("both", "ss", "sn"), ...)

Arguments

x

Output of distee or disteg.

breaks

Optional vector of breaks, passed to hist, though if it is length 1, we interpret it as the number of breaks and ensure that both histograms use the same set of breaks.

add.rug

If true, also include rug below histograms.

what

Indicates whether to plot both self-self and self-nonself distances (or correlations) or just one or the other. ("ss" indicates self-self and "sn" indicates self-nonself.)

...

Ignored at this point.

Details

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.

Value

None.

Author(s)

Karl W Broman, [email protected]

See Also

pulldiag, distee, plot2dist

Examples

1
2
3
4
5
6
7
8
9
data(expr1, expr2)



# distance as correlation
d <- distee(expr1, expr2, "cor")

# plot histograms of self-self and self-nonself correlations
plot(d)

kbroman/lineup documentation built on Dec. 4, 2017, 11:41 p.m.