iterate_through is used to calculate the metric at each position

iterate_through(metric, seqc, bp = MulticoreParam(), ...)

Arguments

metric

either `simpson` or `percent`

seqc

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

bp

BiocParallel backend. Rule of thumbs: use MulticoreParam(workers = ncpus - 2)

...

other parameters as needed

Value

return a dataframe containing the position and result.