DaliangNing / iCAMP1

Infer Community Assembly Mechanisms by Phylogenetic bin-based null model analysis (Version 1)
GNU General Public License v2.0
68 stars 25 forks source link

Error in GetElements.bm(x, i, j): Illegal row index usage in extraction #38

Closed huizhen-yan closed 1 year ago

huizhen-yan commented 1 year ago

Hi, I got the following error when doing phylogenetic binning.

image

The data run normally for the other three seasons, but this error occurred during the summer. How to resolve it?

DaliangNing commented 1 year ago

you may send me (ningdaliang@ou.edu) the input files and R code to debug.

DaliangNing commented 1 year ago

I recommend using midpoint root before taxa.binphy.big. ` tree.rt=iCAMP::midpoint.root.big(tree = tree, pd.desc = pd.big$pd.file, pd.spname = pd.big$tip.label, pd.wd = pd.big$pd.wd, nworker = nworker)

tree=tree.rt$tree ` see step 8.1 in the example code (https://github.com/DaliangNing/iCAMP1/blob/master/Examples/SimpleOTU/icamp.test.r).

In addition, a real microbial dataset had better use bin.size.limit no less than 12.

DaliangNing commented 1 year ago

Hope your problem is solved. If no more questions, I will close this issue soon.