calculate_variant_within_group: 'identify_group_variant_breakdown'

View source: R/search.R

calculate_variant_within_groupR Documentation

identify_group_variant_breakdown

Description

calculate_variant_within_group is used to identify proportion of different samples having the same profile.

Usage

calculate_variant_within_group(pattern, meta, target, get_count = FALSE)

Arguments

pattern

list of sequences' pattern (profile)

meta

metadata of the sequences

target

column name of the target group

get_count

whether to return the count of samples rather than the raw number, default to FALSE.

Value

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


minSNPs documentation built on May 29, 2024, 2:48 a.m.