calculate_percent: 'calculate_percent'

View source: R/search.R

calculate_percentR Documentation

calculate_percent

Description

calculate_percent is used to calculate dissimilarity index, proportion of isolates not in goi that have been discriminated against. 1 being all and 0 being none.

Usage

calculate_percent(pattern, goi)

Arguments

pattern

list of sequences' pattern (profile)

goi

group of interest

Value

Will return the dissimilarity index of the list of patterns.


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