Description Usage Arguments Details Value Author(s) References See Also Examples
edge_effect
tests the occurrence of Edge Effect.
1 2 |
data1 |
a |
coords |
a table with coordinates of every units in |
center |
a vector or a list of vectors, with |
vecpop |
vector, option, |
nbrepeat |
numeric, option, the number of repeats. |
bar |
logical, option, if |
listMLL |
option, a custom list of MLL. |
The index of edge effect Ee
estimates the effect of sampling (scheme
and strategy) on genotypic richness estimation and in particular overestimation
due to large clones sampled only once at the edge of the sampling area.
Ee
is estimated as Ee=(Du-Da)/Da
with Du
average
geographic distances between unique MLG/MLL and the centre, and Da
between all sampling units and the centre.
As for the aggregation index Ac
, coordinates of units are randomly
permuted nbrepeat
times to provide a upper p-value (Monte Carlo).
a list (one population) or list of lists (several populations) with
results a table with Ee
value, pvalue and the number of permutations.
simulations a vector of nbrepeat
values of sim-Ee
.
Creator/Author: Diane Bailleul <diane.bailleul.pro@gmail.com>
Author: Sophie Arnaud-Haond <sophie.arnaud@ifremer.fr>
Contributor: Solenn Stoeckel
The R implementation of RClone
was written by Diane Bailleul.
The design was inspired by GenClone program described in Arnaud-Haond & Belkhir (2007).
Arnaud-Haond et al., 2007, Standardizing methods to address clonality in population studies.
autocorrelation
, clonal_sub
and agg_index
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(posidonia)
data(coord_posidonia)
center1 <- c(40,10)
#Our sample quadra ranges from 0 to 80 and 0 to 20
edge_effect(posidonia, coords = coord_posidonia, center = center1, nbrepeat = 1000,
bar = TRUE)
#But if, for some reasons you don't know where the middle of the sampling
##area is, you can try some of these:
center <- c(mean(coord_posidonia[,1]), mean(coord_posidonia[,2])) #or
center <- c(mean(c(min(coord_posidonia[,1]), max(coord_posidonia[,1]))),
mean(c(min(coord_posidonia[,2]), max(coord_posidonia[,2])))) #or
center <- c((max(coord_posidonia[,1])-min(coord_posidonia[,1]))/2,
(max(coord_posidonia[,2])-min(coord_posidonia[,2]))/2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.