Description Usage Arguments Details Value Examples
Perform multiple random subsamplings of your alignemnt.
1 2 3 |
aln |
a matrix containing the DNA sequences; this must be of class "DNAbin" |
rep |
number of random subsamplings |
nseqs |
a value for the number of sequences to pick |
model |
a character string specifying the evolutionary model to be used by |
parallel |
a logical indicating whether to do the random subsampling on a sequential way or use the |
all |
a logical indicating whether to use all codon positions; defaults to FALSE so only the third codon position is used. |
reg_id |
Name of registry. Displayed e.g. in mails or in cluster queue |
reg_dir |
Path where files regarding the registry / jobs should be saved |
conf_file |
Location of the configuration file to load |
You can calculate multiple saturation plots and its associated statistics. The different random subsamplings can be easily distributed over multiple cores or in a computer cluster.
An object of class “oligodiag” is a list containing at least the following components:
a ggplot object containing the saturation plots of each random sampling
the seeds used for picking the random sequences
a matrix of the random selected sequences stored in binary format for each random subsampling
mean and standard deviation of transitions and transversions for each random subsampling
whether your alignment presents saturation for each random subsampling
raw results for each random subsampling
1 | saturation_plots <- plot_saturation_n(aln, nseqs = 1000, rep = 100, parallel = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.