plot_curtain calls all individual plotting functions needed for a single outlier zoom

plot_curtain(
  loc = "bel",
  outlier_id,
  outlier_nr,
  lg,
  start,
  end,
  cool_genes,
  text = TRUE,
  label,
  trait,
  data_tables,
  ...
)

Arguments

loc

string, sample location (bel [Belize]/ hon [Honduras]/ pan [Panama])

outlier_id

string, identifier of fst outlier ID (eg "LG04_1")

outlier_nr

numeric (deprecated)

lg

string, linkage group (eg. "LG08")

start

numeric, start position of window (bp)

end

numeric, end position of window (bp)

cool_genes

vector of strings, genes that receive a label

text

logical, toggle y axis label and ticks

label

string, panel label ("A"/"B"/"C")

trait

string, trait identifier for icon on gxp plot

data_tables

list with twisst results

...

catch-all parameter to allow excessive parameters through purrr::pmap

Details

The panels containg the gene models, fst, dxy delta dxy, genotype x phenotype association and topology weighting are called.

Then they are combined using cowplot::plot_grid and depending on the column position (first column/ other column), the y axis titles are removed.

See also