cal_met_snp {minSNPs}R Documentation

cal_met_snp

Description

cal_met_snp is used to calculate the metric at each position

Usage

cal_met_snp(position, metric, seqc, prepend_position = c(), ...)

Arguments

position

position to check

metric

either 'simpson' or 'percent'

seqc

list of sequences, either passed directly from process_allele or read_fasta or equivalence

prepend_position

is the position to be added to the

...

other parameters as needed

Value

return the value at that position, as well as base pattern for next iteration.


[Package minSNPs version 0.2.0 Index]