Estimates a diagnostic marker for the state counts of all genomic markers for all individuals. Using the hypothetical, diagnostic marker, calculates individual state counts with respect to their weighted similarity to the diagnostic marker states.
ModelOfDiagnostic(
I4,
OriginalHI,
epsilon = 0.99,
verbose = FALSE,
folder = "likelihood",
...
)
Matrix with dimensions of I4.
a matrix or data.frame with 4 numeric columns representing character state counts for missing data, homozygots for allele 1, heterozygots, and homozygots for allele 2. Individuals in rows.
numeric vector of length equal to number of rows in I4
,
representing hybrid indices of individuals.
A numeric, specifying how much the hypothetical diagnostic markers should
contribute to the likelihood calculations. Must be in [0,1)
, keeping
tolerance setting of the R
session in mind.
Logical or character with path to directory where run diagnostics will be saved.
character specifying path to a folder for the verbose output.
additional arguments.
The OriginalHI
can be calculated with pHetErrOnStateCount
.
diem
for utilising the model to determine appropriate marker
polarisation in estimating barriers to geneflow.