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.

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.