Learn R Programming

PopGenHelpR (version 1.3.2)

Fst_dat: A genetic differentiation matrix and locality information for each population. This data was generated by subsetting data of Farleigh et al., 2021.

Description

A symmetric matrix with estimated genetic differentiation (Fst) between 3 populations.

Usage

data(Fst_dat)

Arguments

Format

A list with two elements:

Fst_dat

Data frame with three rows and three columns

Loc_dat

Data frame containing the locality information for each population

...

Examples

Run this code
data(Fst_dat)
Fst <- Fst_dat[[1]]
Loc <- Fst_dat[[2]]
# \donttest{
 Test <- Network_map(dat = Fst, pops = Loc,
neighbors = 2,col = c('#4575b4', '#91bfdb', '#e0f3f8','#fd8d3c','#fc4e2a'),
statistic = "Fst", Lat_buffer = 1, Long_buffer = 1)# }

Fstat_plot <- Pairwise_heatmap(dat = Fst, statistic = 'FST')

Run the code above in your browser using DataLab