CandidateBoundariesRk {wombsoft}R Documentation

Number of alleles that contains a potential boundary at any point of the grid.

Description

These functions count for each point of the grid, with a moving bandwidth, the number of candidate boundary elements at the given percentile pB at each point of the grid, and computes the overall direction.

Usage

CandidateBoundariesCodominantRk(data, ranks, k, pB = 0.3)
CandidateBoundariesDominantRk(data, ranks, k, pB = 0.3)

Arguments

data the list of the six items provided by the Data and the Mirror functions.
ranks the vector of the ranks of distances of individuals to the grid points, result of the function Ranks.
k number of individuals in the window.
pB percentile of points to be in the candidate boundary for each allele.

Value

a list of three components : the first is the matrix of the number of potential bounds at each point, the second component is the sum of the corresponding directions, and the third is the threshold.

See Also

Data and Ranks for the format of the data and the ranks variables.


[Package wombsoft version 2.0 Index]