geom_hypo_LG: Shaded LG backgrounds

Description Usage Arguments Details See Also Examples

View source: R/hypogen_basics.R

Description

geom_hypo_LG adds the linkage group (LG) boundaries to background of a ggplot.

Usage

1

Arguments

...

catch all parameter (legacy)

Details

To add context to genome wide plots of a statistic (e.g. Fst) this function adds a alternating shaded background to the plot.

See Also

scale_fill_hypo_LG_bg

Examples

1
2
3
4
5
6
ggplot() +
  geom_hypo_LG() +
  scale_fill_hypo_LG_bg() +
  scale_x_hypo_LG() +
  coord_cartesian(ylim = c(0, 1)) +
  theme_hypo()

k-hench/hypogen documentation built on April 14, 2021, 1:44 p.m.