gemelli icon indicating copy to clipboard operation
gemelli copied to clipboard

ImportError: cannot import name 'rclr'

Open pegasuss81 opened this issue 2 months ago • 4 comments

I am trying to follow the CTF method step-by-step using the gemelli package and tutorial. While I implement robust-centered log ratio (rclr), from gemelli.preprocessing import rclr, it gives me an import error, "ImportError: cannot import name 'rclr'" as below.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-10-0285efa5143c> in <module>
      5 from numpy.random import poisson, lognormal
      6 from skbio.stats.composition import closure, clr
----> 7 from gemelli.preprocessing import rclr
      8 from gemelli.matrix_completion import MatrixCompletion
      9 from IPython.core.display import HTML

`ImportError: cannot import name 'rclr'`

All the other gemelli packages import without problem.

pegasuss81 avatar Apr 22 '24 01:04 pegasuss81