State Dependent BM Tutorial vs. the script

12 views
Skip to first unread message

Milton Tan

unread,
Sep 29, 2025, 1:01:34 PMSep 29
to revbayes-users
Hello, quick question about the State Dependent BM tutorial. In the script text, here the disc data is used to clamp the model: 

# make the data-augmented CTCM model
X ~ dnPhyloCTMCDASiteIID(tree, Q, branchRates=lambda, type="Standard", nSites=1)
X.clamp(disc)

However, in the tutorial, this clamp line is absent. Is this a problem?

Thanks!

Orlando Schwery

unread,
Sep 30, 2025, 4:24:04 PMSep 30
to revbayes-users
Hi Milton,

I haven't used this myself before, and so I was gonna wax on about my best guesses, before sending you to the new help portal (see below) for faster help...

But then it occurred to me to just check the plain code-file for the tutorial: If you download that (on the top left of the tutorial page, called mcmc_state_dependent_BM.Rev), and look at the section in question there, it absolutely clamps the disc data to X on line 55. So I think that line just got lost in the narrative version of the tutorial.

But maybe more importantly (and helpfully), note that the RevBayes help has supposedly moved to their github discussions page: https://github.com/revbayes/revbayes/discussions 
It is meant to replace this google group and should be more monitored, so you might get faster help there.

Cheers,
Orlando
Reply all
Reply to author
Forward
0 new messages