Skip to contents

Color the triangle plot by percent missing data in each sample

Usage

missing.plot(
  data = NULL,
  outline = T,
  ind.labels = F,
  cex = 2,
  alpha = 1,
  jitter = 0,
  max.overlaps = 10
)

Arguments

data

Dataframe returned from hybridIndex function

outline

(logical) Whether or not to draw possible triangle space as outline

ind.labels

(logical) Whether or not to label each individual on the triangle plot

cex

(character) Size of points

alpha

(numeric) Transparency of points

jitter

(numeric) Amount by which to jitter points on plot (to facilitate visualization)

max.overlaps

(numeric) Only necessary if labeling individuals. Increasing this will increase the number of individuals labeled, even if labels overlap.

Value

ggplot2 object

Examples

#missing.plot(data = your.data)