rcpp_per_locus_logls {rubias} | R Documentation |
Return a matrix of locus-specific self-assignment logls
Description
Takes a list of key parameters from a genetic dataset, and calculates the log-likelihood of each individual's single-locus genotype, given the allele counts in the individual's collection.
Usage
rcpp_per_locus_logls(par_list)
Arguments
par_list |
genetic data converted to the param_list format by |
Details
This uses Leave-One-Out cross-validation is used to avoid bias in log-likelihood for an individual's known collection of origin
Value
rcpp_per_locus_logls
returns a matrix with I rows and L columns. Each row
represents an individual, and each column a locus. Note that missing data at a locus
returns a zero. That should be changed to NA later.
[Package rubias version 0.3.4 Index]