Comments (2)
Hi Cody,
bayou2OUwie requires that you only provide it a single set of parameters rather than the full posterior. For example, you could use the function pull.pars
to pull out a particular generation of the MCMC and return a bayou parameter list. Alternatively, you could use the function shiftSummaries
to return a bayou parameter list for all shifts above a certain posterior probability (pp.cutoff). For example:
pp <- pull.pars(150001, chain.fit) # Get the last generation of the MCMC parameters
bayou2OUwie(pp, fit.tree, fit.sorted2)
#OR
pp <- shiftSummaries(chain.fit, mcmc=your.mcmc.object, pp.cutoff=0.3)$pars
bayou2OUwie(pp, fit.tree, fit.sorted2)
from bayou.
Thank so much for the clarification!
from bayou.
Related Issues (20)
- Quick fix: parallel for steppingstone
- Prob of shift proportional to branch length maybe broke on dev version? HOT 2
- ERROR IN BAYOU.MCMC: error: matrix multiplication: incompatible matrix dimensions: 74x15 and 1x1 Error in C_weightmatrix(cache, pars) : matrix multiplication: incompatible matrix dimensions: 74x15 and 1x1 HOT 2
- Loading a saved BAYOU run HOT 1
- Tutorial does not reflect updates HOT 1
- makeBayouModel should check if the predictor has NAs and impute=FALSE
- Error with plot functions bayou package
- Error in mcmcOU$run:Error in summary.connection(x) : invalid connection
- make.refFn error for bounded distributions on continuous parameters
- After read the bayou/tutorial.md, i still don't know how to set the parameters?
- Can not install on mac
- Convergent evolution
- plotSimmap.mcmc/phenogram.density when no shifts are large
- Shouldn't have to specify starting parameters when the model has fixed parameters
- Numerical errors when the data have a very small variance
- summary.bayouMCMC has errors summarizing location
- Likelihood is wrong when alpha is fixed to 0 using 3 point algorithm HOT 1
- Feature request: Function to extract the posterior of the regression line from shiftSummary
- Feature request: function to extract the raw value of a trait from each regime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bayou.