powered by
A slight improvement of 'ips::mrbayes()'
MrBayes(x, file="", nst=6, rates="invgamma", ngammacat=4, nruns=2, ngen=1e+06, printfreq=100, samplefreq=10, nchains=4, savebrlens="yes", temp=0.2, burnin=10, contype="allcompat", run=FALSE, simple=TRUE, exec="mb-mpi")
The object to process (must be 'DNAbin' class)
A character string, giving the name of the MrBayes input file.
An integer giving the number of rates in the model of sequence evolution.
A character string; allowed are "equal", "gamma", "propinv", "invgamma", and "adgamma"; the default is "equal".
An integer; the number rate categories for the discretized Gamma distribution; the default is '4'.
An integer; the number of runs.
An integer; the number of states of the MCMC.
An integer; the interval between states of the MCMC to be printed on the screen
An integer; the interval between states of the MCMC to be sampled.
An integer; number of Metropolis coupled MCMCs in each run.
Logical; shall branch lengths be saved.
0.2
An integer; the number of samples from the MCMC to be discarded prior to further analysis.
A character string; the type of consensus tree calculated from the posterior distribution of trees
Logical; 'run = FALSE' will only print the NEXUS file, 'run = TRUE' will also start the MCMC runs, if the 'path' argument is correctly specified.
New option: if TRUE (default), then outputs tree in the format readable by functions from 'ape' package
New option: name of UNIX executable (to appow multithreaded version)
'MrBayes()' is a slight improvement of 'ips::mrbayes()'. Please see its documentation for clarity and other options.
'MrBayes()' has two more options, it also both views and saves output (this works only on UNIX).
ips::mrbayes
mrbayes
# NOT RUN { require(ips) data(ips.cox1) x <- ips.cox1[, 100:140] # } # NOT RUN { ## requires MrBayes installation MrBayes(x, file="cox1", ngen=100, run=TRUE) # }
Run the code above in your browser using DataLab