nucleotide_diversity_grid: nucleotide diversity by site on the worldmap grid

Description Usage Arguments Value

View source: R/nucleotide_diversity_grid.R

Description

The function assign to each polygons of a grid the value of nucleotide diversity as it is indicated in the data.frame 'nucdivSites'.

Usage

1
nucleotide_diversity_grid(nucdivSites, grid.sp)

Arguments

nucdivSites

a data.frame of nucleotide diversity by site and site grid's ids

grid.sp

a spatialpolygons object of all sites of the grid

Value

a data.frame of nucleotide diversity by site


Grelot/rgeogendiv documentation built on Dec. 22, 2020, 5:51 a.m.