Closed lingxuan85511 closed 10 months ago
Does it work if you use only ptree1 or ptree2?
Yese, when using inferTTree function with each tree, the program is running correctly.
Ok, in that case the problem is specific to the infer_multitree_share_param that was written by Yuanwei Xu. I don't think he monitors the issues on this repository though, so you should probably try to contact him directly using his email address provided in the DESCRIPTION file.
Thank you for your kindly help. I will directly contact him via email.
Dear author,
I am usig infer_multittree_share_param (TransPhylo v1.4.10) to infer the parameters of transmission chain with my data. I found this function performed well when the dataset is not big. However, error occurred when I used a big dataset(>3000 tips). I have no idea how to solve this problem. Do you have any suggestions? The script and error information was as follow:
|
| | 0%Error in if (log(runif(1)) < sum(pTTree2) - sum(pTTree)) { : missing value where TRUE/FALSE needed Calls: infer_multittree_share_param ... with -> with.default -> eval -> eval -> one_update_share Execution halted