iterate_through {minSNPs}R Documentation

iterate_through

Description

iterate_through is used to calculate the metric at each position

Usage

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.


[Package minSNPs version 0.2.0 Index]