rcpp_per_locus_logls | R Documentation |
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.
rcpp_per_locus_logls(par_list)
par_list |
genetic data converted to the param_list format by |
This uses Leave-One-Out cross-validation is used to avoid bias in log-likelihood for an individual's known collection of origin
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.