qdu-bioinfo / hrms

R package for making the kernel functions of calculating the microbiome distances and principle coordinates.
GNU General Public License v3.0
0 stars 1 forks source link

"Multi_Comp_Table" not available for .Call() for package "hrms" #1

Open miriamreverter opened 2 years ago

miriamreverter commented 2 years ago

Hi! I am trying to use your functions in R, but I am encountering some issues. In order to run the package through R i first run the config.R code. I then loaded the genes, pw and abd_matrix into R and tried to run compfunc code.

After creating the compfunc function I try to run the demo dataset: compfunc(abds=abd_matrix)

But I get this error: Error in .Call("Multi_Comp_Table", gene, pw, features, samples, abds, : "Multi_Comp_Table" not available for .Call() for package "hrms"

Do you know why this happens and how to solve it?

Thank you very much in advance! Best regards, Miriam

qdu-bioinfo commented 2 years ago

Dear Miriam, I am so sorry for the delay. During testing, I have not met this issue. Could you please reinstall this package ane retest it by the following methods?

  1. Remove the current R package in R environment: remove.packages("hrms")
  2. Redownload the packages in shell environment: wget http://bioinfo.single-cell.cn/Released_Software/hierarchical-meta-storms/data/hrms_1.01.tar.gz
  3. Reenter the R environment and run these commands: install.packages("hrms_1.01.tar.gz") library("hrms") load(abd_matrix) compfunc(abd_matrix)

    If you have any questions please do not hesitate to contact me.