The MOIs returned correspond to the parsimonious explanation of the data, i.e., the minimal MOIs required to support the observed allelic diversity.
Arguments
- y
Observed data in the form of a list of lists. The outer list is a list of episodes in chronological order. The inner list is a list of named markers per episode. For each marker, one must specify an allelic vector: a set of distinct alleles detected at that marker.
- return.names
Logical; if TRUE and episodes are named, episode names are returned.
Details
For a given episode, the minimal MOI required to support the observed allelic
diversity is equal to the maximum number of per-marker alleles observed
across markers. These MOIs are the default used by
compute_posterior
.
At present, Pv3Rs
only supports prevalence data (categorical data that
signal the detection of alleles), not quantitative (proportional abundance)
data. Allele repeats at markers with observed data, and repeat NA
s at
markers with missing data, are removed. NA
s in allelic vectors that
also contain non-NA
values are ignored.