View source: R/default_params_doc.R
default_params_doc | R Documentation |
This function does nothing. It is intended to inherit is parameters' documentation.
default_params_doc(
alignment,
alignment_params,
alignment_rng_seed,
base_frequencies,
bd_mutation_rate,
bd_tree,
bd_tree_filename,
beast2_bin_path,
beast2_input_filename,
beast2_options,
beast2_optionses,
beast2_options_inference,
beast2_options_est_evidence,
beast2_output_log_filename,
beast2_output_state_filename,
beast2_output_trees_filename,
beast2_output_trees_filenames,
beast2_path,
beast2_rng_seed,
branch_mutation_rate,
branch_subst_matrix,
brts,
burn_in_fraction,
chain_length,
check_input,
clock_model,
clock_models,
clock_model_name,
consensus,
crown_age,
df_long,
do_measure_evidence,
epsilon,
error_fun,
error_measure_params,
errors,
errors_filename,
est_evidence_mcmc,
evidence_epsilon,
evidence_filename,
exclude_model,
experiment,
experiments,
extinction_rate,
fasta_filename,
filename,
folder_name,
folder_names,
inference_model,
inference_conditions,
init_speciation_rate,
init_extinction_rate,
lambda,
log_evidence,
marg_lik_filename,
marg_liks,
max_evidence_epsilon,
max_n_tries,
mbd_l_matrix,
mbd_mutation_rate,
mbd_tree,
mcmc,
method,
model_selection,
model_type,
mrca_prior,
mu,
mutation_rate,
n_0,
n_mutations,
n_taxa,
n_replicates,
node_mutation_rate,
node_subst_matrix,
node_time,
nu,
nu_events,
os,
parameter_filename,
parameters_filename,
phylo,
phylogenies,
phylogeny,
pir_params,
pir_paramses,
pir_out,
pir_outs,
posterior_trees,
precision,
project_folder_name,
rename_fun,
result,
rng_seed,
rng_seeds,
rng_seed_twin_alignment,
rng_seed_twin_tree,
root_sequence,
run_experiment,
run_experiments,
run_if,
sample_interval,
seed,
sequence_length,
sim_phylo_fun,
sim_tral_fun,
sim_twal_fun,
sim_twin_tree_fun,
site_model,
site_models,
site_model_name,
sub_chain_length,
subst_matrix,
tree,
tree_and_model,
tree_and_models,
tree_and_model_descriptions,
tree_and_model_errors,
treelog_filename,
tree_filename,
tree_model,
tree_prior,
tree_priors,
tree_prior_name,
tree_type,
tree_types,
true_alignment,
true_phylogeny,
true_result,
twin_alignment,
twin_alignment_filename,
twin_evidence_filename,
twin_phylogeny,
twin_model,
twin_result,
twin_tree_filename,
twinning_params,
type,
verbose,
weight
)
alignment |
a DNA alignment, of class DNAbin |
alignment_params |
parameters to simulate an alignment, as can be created by create_alignment_params |
alignment_rng_seed |
The random number generator seed used to generate an alignment |
base_frequencies |
the four base frequencies (a, c, g, t) to be specified to create the rate matrix (i.e. Q matrix) used to simulate alignments |
bd_mutation_rate |
the mutation rate when creating an alignment from a BD tree |
bd_tree |
a phylogent of class phylo, created by a Birth Death process |
bd_tree_filename |
name of the file that stores a BD twin tree |
beast2_bin_path |
path to BEAST2 binary file. The use of the binary BEAST2 file is required for estimation of the evidence (aka marginal likelihood). The default BEAST2 binary path can be obtained using get_default_beast2_bin_path |
beast2_input_filename |
path of the BEAST2 configuration file.
By default, this file is put in a temporary folder with a random filename,
as the user needs not read it: it is used as input of BEAST2.
Specifying a |
beast2_options |
BEAST2 options, as can be created by create_beast2_options |
beast2_optionses |
list of one or more BEAST2 options, as can be created by create_beast2_options |
beast2_options_inference |
BEAST2 options, as can be created by create_beast2_options. The MCMC must be a normal MCMC, as can be created by create_mcmc. |
beast2_options_est_evidence |
BEAST2 options to estimate the evidence (aka marginal likelihood), as can be created by create_beast2_options. The MCMC must be a Nested Sampling MCMC, as can be created by create_ns_mcmc. |
beast2_output_log_filename |
name of the log file created by BEAST2, containing the parameter estimates in time. By default, this file is put a temporary folder with a random filename, as the user needs not read it. Specifying a beast2_output_log_filename allows to store that file in a more permanently stored location. |
beast2_output_state_filename |
name of the final state file created by BEAST2, containing the operator acceptances. By default, this file is put a temporary folder with a random filename, as the user needs not read it. Specifying a beast2_output_state_filename allows to store that file in a more permanently stored location. |
beast2_output_trees_filename |
name of a trees files
created by BEAST2.
By default, this file is put a temporary folder with a random filename,
as the user needs not read it: its content is parsed and
compared to a true phylogeny to obtain the inference errors.
Specifying |
beast2_output_trees_filenames |
name of the one or more trees files
created by BEAST2, one per alignment.
By default, these files are put a temporary folder with a random filename,
as the user needs not read it: its content is parsed and
compared to a true phylogeny to obtain the inference errors.
Specifying |
beast2_path |
Path to the
BEAST2 jar file ( |
beast2_rng_seed |
The random number generator seed used by BEAST2 |
branch_mutation_rate |
mutation rate along the branch. See, among others, sim_unlinked for more details |
branch_subst_matrix |
substitution matrix along the branches. See, among others, sim_unlinked for more details |
brts |
numeric vector of (all postive) branching times, in time units before the present. Assuming no stem, the heighest value equals the crown age. |
burn_in_fraction |
the fraction of the posterior trees (starting from the ones generated first) that will be discarded, must be a value from 0.0 (keep all), to 1.0 (discard all). |
chain_length |
something |
check_input |
boolean to indicate if the input is checked. If set to TRUE, input is checked, resulting in a proper error message. Else, input is left unchecked, possibly resulting in unhelpful error messages. |
clock_model |
a clock model, as created by create_clock_model |
clock_models |
a list of one or more clock models, as created by create_clock_model |
clock_model_name |
name of a clock model |
consensus |
the order of which the taxon labels are plotted |
crown_age |
the fixed crown age of the posterior. Set to NA to let it be estimated |
df_long |
the output created by |
do_measure_evidence |
boolean to indicate if the evidence (aka marginal likelihood) of an experiment must be measured |
epsilon |
measure of relative accuracy when estimating a model's evidence (also known as marginal likelihood). Smaller values result in more precise estimations, that take longer to compute |
error_fun |
function that determines the error between a given phylogeny and a the trees in a Bayesian posterior. The function must have two arguments:
The function must return as many errors as there are posterior trees given. The error must be lowest between identical trees. Example functions are:
|
error_measure_params |
parameter set to specify how the error between the given phylogeny and the Bayesian posterior is determined. Use create_error_measure_params to create such a parameter set |
errors |
a numeric vector of (positive) Bayesian inference errors. Use NA if these are not measured (yet) |
errors_filename |
baseline name for errors filenames, as created by get_temp_errors_filename |
est_evidence_mcmc |
MCMC used in the estimation of the evidence (aka marginal likelihood). The MCMC must be a Nested Sampling MCMC, as can be created by create_ns_mcmc. |
evidence_epsilon |
relative error in estimating the evidence (aka marginal likelihood). |
evidence_filename |
filename to store the estimated evidences (aka marginal likelihoods), as can be created by get_temp_evidence_filename. Must be NA if there is evidence estimation (as determined by will_measure_evidence). |
exclude_model |
an inference model that has to be excluded, as can be created by create_inference_model |
experiment |
a pirouette experiment, as can be created by create_experiment |
experiments |
a list of one or more pirouette experiments, as can be created by create_experiment. If more than one experiment is provided and a "generative" experiment is part of them, the "generative" one has to be the first in the list. See also:
|
extinction_rate |
per-species extinction rate |
fasta_filename |
name of a FASTA file. Use get_alignment_id to get the ID of the alignment |
filename |
the file's name, without the path |
folder_name |
name of the main folder |
folder_names |
one or more folder names |
inference_model |
an inference model, which is a combination of site model, clock model, tree prior and BEAST2 input and input filenames. |
inference_conditions |
conditions under which the inference model is used in the inference |
init_speciation_rate |
a speciation rate |
init_extinction_rate |
an extinction rate |
lambda |
per-lineage speciation rate |
log_evidence |
the natural logarithm of the evidence (aka marginal likelihood). Can be NA if this is not measured |
marg_lik_filename |
name of the file the marginal likelihoods (also known as 'evidences') are saved to |
marg_liks |
a data frame with marginal likelihoods/evidences. A test data frame can be created by create_test_marg_liks |
max_evidence_epsilon |
set the maximum acceptable threshold for the
parameter |
max_n_tries |
maximum number of tries before giving up |
mbd_l_matrix |
the L matrix of an MBD tree |
mbd_mutation_rate |
the mutation rate when creating an alignment from a MBD tree |
mbd_tree |
an MBD tree |
mcmc |
MCMC options, as created by create_mcmc |
method |
determines how to create the twin tree
|
model_selection |
one ways to select the models used in
inference, for example, |
model_type |
type of inference model supplied for an experiment. Possible values:
|
mrca_prior |
an MRCA prior, as created by create_mrca_prior |
mu |
per-species extinction rate |
mutation_rate |
the mutation rate per base pair per time unit. Use check_mutation_rate to check if a mutation rate is valid. |
n_0 |
number of starting species |
n_mutations |
costrained number of mutations |
n_taxa |
number of tree tips |
n_replicates |
number of replicas to evaluate in order to create the twin tree |
node_mutation_rate |
mutation rate on the node. See, among others, sim_unlinked for more details |
node_subst_matrix |
substitution matrix on the nodes. See, among others, sim_unlinked for more details |
node_time |
amount of time spent at the nodes. See, among others, sim_unlinked for more details |
nu |
the rate at which a multiple-birth specation is triggered |
nu_events |
the number of nu-triggered events that have to be present in the simulated tree |
os |
name of the operating system, can be |
parameter_filename |
full path to a 'parameters.csv' file |
parameters_filename |
full path to a 'parameters.csv' file |
phylo |
a phylogeny of class phylo |
phylogenies |
a list of phylogenies, each phylogeny being of class phylo |
phylogeny |
a phylogeny of class phylo |
pir_params |
the parameters of pirouette. They are created by create_pir_params. |
pir_paramses |
a list of pirouette parameters, each element created by create_pir_params. |
pir_out |
the output of pir_run |
pir_outs |
the output of pir_runs |
posterior_trees |
phylogenetic trees in a BEAST2 posterior,
of class |
precision |
define the precision of the approximation. |
project_folder_name |
project folder name |
rename_fun |
a function to rename a filename, as can be checked by check_rename_fun. This function should have one argument, which will be a filename or NA. The function should return one filename (when passed one filename) or one NA (when passed one NA). Example rename functions are:
|
result |
results from measurements. These are:
|
rng_seed |
a random number generator seed |
rng_seeds |
a vector of random number generator seeds |
rng_seed_twin_alignment |
the random number generator seed as used in the simulation of a twin alignment |
rng_seed_twin_tree |
the random number generator seed as used in the simulation of a twin tree |
root_sequence |
the DNA sequence at the root of the phylogeny. By default, this will consist out of an equal amount of each letter Use check_root_sequence to check if a root sequence is valid. |
run_experiment |
one pirouette run experiment. A run experiment has these attributes:
|
run_experiments |
a list of one or more pirouette run experiments |
run_if |
the condition for an experiment's inference model to be run. Possible values:
|
sample_interval |
the interval at which the MCMC algorithm makes a measurement |
seed |
a random number generator seed |
sequence_length |
the length of each DNA sequence in an alignment |
sim_phylo_fun |
function that, each time when called, simulates one random tree. |
sim_tral_fun |
function to simulate a
true alignment with.
This function must have two arguments,
called Use check_sim_tral_fun to verify if the function has the right signature and output. Some standard functions:
|
sim_twal_fun |
function to simulate a
twin alignment with.
This function must have two arguments called Use check_sim_twal_fun to verify if the function has the right signature and output. Some standard functions:
|
sim_twin_tree_fun |
function to simulate a twin tree with.
This function must have one argument called Some standard functions:
|
site_model |
a nucleotide substitution model, which can be:
|
site_models |
a list of one or more site models, as created by create_site_model |
site_model_name |
name of a site model |
sub_chain_length |
length of the sub-chain used by the Nested Sampling algorithm to estimate the marginal likelihood |
subst_matrix |
nucleotide substitution matrix |
tree |
an ultrametric phylogenetic tree of class phylo |
tree_and_model |
one combination of a tree and model, as created by get_tree_and_model_values |
tree_and_models |
one or more combination of a tree and model, as created by get_tree_and_model_values |
tree_and_model_descriptions |
tabular data that maps
a |
tree_and_model_errors |
a tibble of a |
treelog_filename |
name of the MCMC's treelog file,
which is |
tree_filename |
name of the phylogeny file |
tree_model |
model used to simulate the tree |
tree_prior |
a tree prior, as created by create_tree_prior |
tree_priors |
a list of one or more tree priors, as created by create_tree_prior |
tree_prior_name |
name of a tree prior |
tree_type |
type of tree, can be |
tree_types |
types of tree, a vector of |
true_alignment |
a DNA alignment, of class DNAbin |
true_phylogeny |
the true phylogeny; the actual evolutionary history of the species, of class phylo |
true_result |
result obtained from using the true tree |
twin_alignment |
a DNA alignment, of class DNAbin |
twin_alignment_filename |
name of the FASTA file the twin alignment will be saved to |
twin_evidence_filename |
filename to store the estimated evidences (aka marginal likelihoods) of the twin tree |
twin_phylogeny |
a phylogeny of class phylo |
twin_model |
the model you want to use to generate the twin tree:
See get_twin_models to see all possible
values of |
twin_result |
result obtained from using the twin tree |
twin_tree_filename |
name of the ( |
twinning_params |
can be |
type |
one or more ways to select the models used in inference:
See get_model_selections for a list. |
verbose |
if TRUE, show more output |
weight |
the weight of the model, compared to other (candidate) models. This weight will be between 0.0 (there is no evidence for this model) to 1.0 (all evidence indicates this is the best model). A weight of NA denotes that the weight is not measured |
This is an internal function, so it should be marked with
@noRd
. This is not done, as this will disallow all
functions to find the documentation parameters
Documentation by Giovanni Laudanno, use of this function by Richèl J.C. Bilderbeek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.