Comments (11)
Great, I'll send you and email then.
Oh yes - I always forget about the private setting! haha
from babette.
Hi Gary, thanks for this awesome bug report!
The coalescent model is only a modestly tested model. And I'd be happy to fix this -probably- bug. Could you post the BEAST2 XML file? And, will you volunteer to test if it indeed works?
If yes, I will probably fix it before Sunday 12:00 π
To answer you questions:
Am I right in saying that id and pop_size_distr are the only arguments to create_ccp_tree_prior()?
Yes, and I think that is still correct. I feel I need to add some parameters to create_log_normal_distr
. Note that one never needs to initialize id
π
Actually, in general is there a way of parsing the paper's XML using Babette so that I can find what functions to use - in the same way that I've managed to load to XML into Beauti so I can see explicitly what parameters they've used?
No, there is no support for that yes, although tiebeaur (the reverse of 'beautier') was an initial start of this idea. But if you want to help add this, sure, we'll have an online chat π
from babette.
Hi Richèl, many thanks for getting back to me so quickly.
Yes, I'd certainly be happy to test this!
The XML file can be found here: https://github.com/GaryNapier/transmission/blob/main/beast_xml/BEAST2_GTR_Model_London_TB_Outbreak.xml
Ok, thanks for letting me know about the 'reverse' XML upload.
It'd be good to have an online chat, thanks - I'm making my way through the "London study" XML and there are a couple of other settings/parameters that I doubt would be coded in Babette, so it might be quicker to let you know about these online.
Many thanks!
Gary
from babette.
Hi Gary, fun, lets meet online! You don't have an email on your GitHub profile, could you send a short email to me? We'll take care of things from there. Fun!
from babette.
P.S. The repo is private, so I cannot see it. You could make me a Collaborator πΌ
from babette.
Added at ropensci/beautier#121, time for @GaryNapier to check my work π
from babette.
Hi Richel,
Many thanks again for your help, and so quick.
I'm just trying to run create_log_normal_distr()
again after running remotes::install_github("ropensci/beautier")
.
My code is:
beautier::create_log_normal_distr(
m = 1,
s = 1.25,
initial_value=100.0,
lower = 0.0,
upper = 200.0
)
But the initial_value
, lower
and upper
are described as unused arguments.
When I run ?create_log_normal_distr
these arguments show up in the help file, but when I look at the function itself they don't seem to be there:
> create_log_normal_distr
function (id = NA, m = 0, s = 0)
Perhaps the function hasn't been pushed to Github or something?
Thanks!
from babette.
Silly me, will fix tonight and send an email when done. Thanks for checking me π
from babette.
haha cheers!
from babette.
Added the trivial test below, which works:
test_that("log_normal_distr, complete use", {
m <- 1.0
s <- 1.25
value <- 100.0
lower <- 0.01
upper <- 200.0
log_normal_distr <- create_log_normal_distr(
m = m,
s = s,
value = value,
lower = lower,
upper = upper
)
expect_equal(m, log_normal_distr$m$value)
expect_equal(s, log_normal_distr$s$value)
expect_equal(value, log_normal_distr$value)
expect_equal(lower, log_normal_distr$lower)
expect_equal(upper, log_normal_distr$upper)
})
Whatever it was. it is fixed now π
from babette.
It works, except there is another Issue at #93.
from babette.
Related Issues (20)
- Fix 'Package babette_2.3.tar.gz has been built for Windows - with a WARNING' HOT 2
- babette cannot read BEAST file: correct HOT 6
- Feature request: amino acid sequence alignments HOT 1
- How to deal with 'the ucldMean stateNode was absent in BEAST v2.4'? HOT 3
- babette sleeps/freezes/becomes unresponsive HOT 7
- babette for Phylogeographic HOT 2
- Babette with beauti 2.6 HOT 4
- Example: tip dating HOT 7
- Question about clock rate HOT 11
- Feature request: add Birth-Death Skyline Serial model HOT 2
- Problem with "tipdates_filename" HOT 38
- How to prepare a tipdating file? HOT 7
- Doubling of clockRate parameter in XML when using tipdates_filename HOT 7
- Doubling of clockPrior ID HOT 7
- Two sequences with different length found HOT 2
- freqParameter distribution request HOT 5
- FAQ: How to get the names of the temporary files? HOT 2
- Add continued run HOT 1
- Verify RLN + tipdates works HOT 3
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 babette.