Description Usage Arguments Details Value Author(s) Examples
View source: R/sequenceLikelihoods.R
Calculate likelihood of each sequence based on gamma distribution of pairwise distances.
1 2 3 4 5 6 7 8 9 |
x |
a |
model |
a character string specifying the evolutionary model to be
used. Passed to |
pairwise.deletion |
a logical indicating whether to delete the
sites with missing data in a pairwise way. Passed to
|
n |
number of sequences with lowest delta(log-likelihoods) to plot. Defaults to all sequences Set to 0 to supress plotting. |
plot |
generate a plot of top |
simplify |
if there is a single locus, return result in a simplified
form? If |
... |
arguments passed from other functions (ignored). |
Fits a Gamma distribution to the pairwise distances of sequences and calculates the log-likelihood for each (sum of all pairwise log-likelihoods for that sequence). Sequences that are extremely different from all others will have low log-likelihoods. Values returned as delta(log-likelhoods) = difference of log-likelihoods from maximum observed values.
vector of delta(log-Likelihoods) for each sequence, sorted from smallest to largest, and a plot of their distributions.
Eric Archer eric.archer@noaa.gov
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.