cal_met_snp: 'cal_met_snp'

View source: R/search.R

cal_met_snpR 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.


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