calculate_simpson: 'calculate_simpson'

View source: R/search.R

calculate_simpsonR Documentation

calculate_simpson

Description

calculate_simpson is used to calculate Simpson's index. Which is in the range of 0-1, where the greater the value, the more diverse the population.

Usage

calculate_simpson(pattern)

Arguments

pattern

list of sequences' pattern (profile)

Value

Will return the Simpson's index of the list of patterns.


ludwigHoon/minSNPs documentation built on March 25, 2024, 11:54 a.m.