Skip to contents

Genotypes and genetic distances

read_genotypes()
Read genotypes from a file
as_popcounts()
Population allele counts
pairwise_fst()
Pairwise FST between populations
directional_gst()
Directional genetic differentiation and net migration (dM)
pairwise_table()
Pairwise genetic table

Paths and corridors

make_transition()
Transition layer from a resistance surface
rank_resistance()
Rank resistance surfaces by how well they explain genetic distance
least_cost_paths()
Least cost paths between sites
accumulated_cost()
Accumulated cost surfaces
lcc_weights()
Least cost corridor weights for a pair of sites
path_buffers()
Buffers around least cost paths

Environmental features

corridor_extract()
Summarize environmental layers within corridors
site_contrast()
Environmental contrasts between sites
both_directions()
Use each pair in both directions
lineage_cross()
Lineage effect for pairs of sites

Models and forecasts

select_bandwidth()
Choose a corridor bandwidth for each group of features
pair_weights()
Case weights for pairwise data
fit_connectivity()
Fit a Cubist model of connectivity
predict(<corridor_model>)
Predict from a connectivity model

Maps

map_pairwise()
Map pairwise values onto the landscape
shift_arrows()
Arrows for a directional map
plot_shift()
Plot a map of projected change

Example data

corridor_example()
Simulated example landscape