Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_classes_v1.R
Set up the inputs object for an ML search. See parameter descriptions for defaults.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | define_BioGeoBEARS_run(abbr = "default",
description = "defaults",
BioGeoBEARS_model_object = define_BioGeoBEARS_model_object(),
trfn = "Psychotria_5.2.newick",
geogfn = "Psychotria_geog.data", timesfn = NA,
distsfn = NA, dispersal_multipliers_fn = NA,
area_of_areas_fn = NA, areas_allowed_fn = NA,
detects_fn = NA, controls_fn = NA, max_range_size = NA,
states_list = NULL, force_sparse = FALSE,
use_detection_model = FALSE, print_optim = TRUE,
num_cores_to_use = NA, cluster_already_open = FALSE,
use_optimx = TRUE, return_condlikes_table = FALSE,
calc_TTL_loglike_from_condlikes_table = TRUE,
calc_ancprobs = TRUE, fixnode = NULL, fixlikes = NULL,
speedup = TRUE, tmpwd = getwd())
|
abbr |
Text abbreviation of run, e.g. "default" |
description |
Text description of run, e.g. "defaults" |
BioGeoBEARS_model_object |
Default is
|
trfn |
The filename of the phylogenetic tree, in
NEWICK format
(http://evolution.genetics.washington.edu/phylip/newicktree.html).
Tipnames should match the names in geogfn. See
|
geogfn |
A PHYLIP-style file with geographic range
data (see |
timesfn |
Filename for the stratified times. |
distsfn |
Filename for the changing distances. |
dispersal_multipliers_fn |
Filename for the changing hard-coded dispersal multipliers |
area_of_areas_fn |
Filename for the area of each area |
areas_allowed_fn |
Filename for the allowed connections between areas for single-species ranges. |
detects_fn |
Filename for the counts of detections
of OTUs of interest. See |
controls_fn |
Filename for the counts of taphonomic
controls (which INCLUDE the OTUs of interest). See
|
max_range_size |
The maximum rangesize, in number of
areas. Having a smaller maximum range size means that
you can have more areas (the size of the state space is
greatly reduced; see
|
states_list |
A list of the possible states/geographic ranges, in 0-based index form. |
force_sparse |
Should sparse matrix exponentiation
be used? Default |
use_detection_model |
If TRUE, use the detection
model (with parameters mf, dp, and fdp) and counts of
detections and counts of taphonomic controls to calculate
the |
print_optim |
If TRUE (default), print the optimization steps as ML estimation progresses. |
tmpwd |
The working directory in which the input and
output files will be placed. Default is
|
num_cores_to_use |
If >1, parallel processing will
be attempted. Note: parallel processing via
|
cluster_already_open |
If the user wants to
distribute the matrix exponentiation calculations from
all the branches across a number of processors/nodes on a
cluster, specify the cluster here. E.g.
|
use_optimx |
If TRUE, use |
return_condlikes_table |
If |
calc_TTL_loglike_from_condlikes_table |
If TRUE, force making of the condlikes table, and use it to calculate the log-likelihood (default=TRUE; matches LAGRANGE). |
calc_ancprobs |
If |
fixnode |
If the state at a particular node is going to be fixed (e.g. for ML marginal ancestral states), give the node number. |
fixlikes |
The state likelihoods to be used at the fixed node. I.e. 1 for the fixed state, and 0 for the others. |
speedup |
If |
inputs
Inputs for ML search.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster
Matzke_2012_IBS
readfiles_BioGeoBEARS_run
,
define_BioGeoBEARS_model_object
,
setwd
, getwd
1 | test=1
|
Loading required package: rexpokit
Loading required package: SparseM
Attaching package: 'SparseM'
The following object is masked from 'package:base':
backsolve
Loading required package: Rcpp
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase
Attaching package: 'phylobase'
The following object is masked from 'package:ape':
edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.