calculate_variant_within_group {minSNPs} | R 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.
[Package minSNPs version 0.2.0 Index]