prep_data: Prepate topology weighting data for zoom plot

Description Usage Arguments Details See Also

View source: R/functions_f5.R

Description

prep_data imports the twisst data of a selected LG

Usage

1
prep_data(loc, window_size = twisst_size, ...)

Arguments

loc

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

window_size

size of twisst windows (bp)

...

catch-all parameter for purrr::pmap to ignore excessive parameters

Details

Based on the focal outlier names, the linkage group is determined. The topology weighting results and positions files are located and filtered for the focal LG and location.

Then, the selected files are imported.

See Also

Other Figure 5: ax_scl(), cross_spec(), custom_annoplot(), dist_tibble(), distances_tree(), get_clr(), get_dist(), get_gxp_long(), get_isolated_topos(), get_neighbour_topos(), is_isolated(), min_dist(), no_title(), plot_curtain(), plot_fish_zoom(), plot_fst_poptree(), plot_leg(), plot_panel_anno(), plot_panel_delta_dxy(), plot_panel_dxy(), plot_panel_fst(), plot_panel_gxp(), plot_panel_twisst(), theme_panels()


k-hench/GenomicOriginsScripts documentation built on July 24, 2021, 3:05 p.m.