plot_leg creates the elements of the topology highlighting legend.

plot_leg(
  spec1 = "puella",
  spec2 = "maya",
  color = "#084082ff",
  size = 0.5,
  mode = "pair"
)

Arguments

spec1

string, three letter species identifier

spec2

string, three letter species identifier

color

string, color

size

numeric, line width

mode

string, legend element mode ("pair"/"isolation")

Details

This funtion is used to create the topologie legend of a single a single highlighing scheme. Depending on the highlighting mode (pair/ isolation), the background geometry is created and the hamlet annotations are collected.

Then the geometry is plotted an the hamlets are added.

See also