R/functions_f4.R
match_twisst_files.Rd
match_twisst_files
imports all topology weighting data sets for a location.
match_twisst_files(loc, window_size = 200, panel = "a")
loc | sample location (bel [Belize]/ hon [Honduras]/ pan [Panama]) |
---|---|
window_size | window size of twisst run |
panel | figure panel identifier (for labeling) |
First the weight and position files of all topology weighting data sets (the different linkage groups) for a given location are collected.
The topology weighting data import function is iterated over all data sets and combined to create a full data set.
Then, the full data set is summarized to then be able to rank the typologies based on their overall weighting.
The topology ranks are added to the full data set and a window column containing the location is added for faceting.
Other Figure 4:
get_twisst_data()