Giter Site home page Giter Site logo

Comments (6)

mbk0asis avatar mbk0asis commented on June 19, 2024 2

I'm sorry to bother you, but would you explain exactly which step I should use Pegasus?

And I'm getting another error when running 'wot trajectory_trends'.
Was this command also deprecated?
The command and the error message are as follow;


$ wot trajectory_trends --trajectory wot_trajectory.txt --cell_days data/cell_days.txt --matrix data/ExprMatrix.h5ad --gene_filter Nanog,Obox6,Zfp42 --plot
/usr/local/lib/python3.6/dist-packages/pegasus/__init__.py:6: UserWarning: 
This call to matplotlib.use() has no effect because the backend has already
been chosen; matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.

The backend was *originally* set to 'TkAgg' by the following code:
  File "/usr/local/bin/wot", line 7, in <module>
    from wot.__main__ import main
  File "/usr/local/lib/python3.6/dist-packages/wot/__init__.py", line 4, in <module>
    import wot.graphics
  File "/usr/local/lib/python3.6/dist-packages/wot/graphics/__init__.py", line 4, in <module>
    from .plot import *
  File "/usr/local/lib/python3.6/dist-packages/wot/graphics/plot.py", line 5, in <module>
    from matplotlib import pyplot as plt
  File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 72, in <module>
    from matplotlib.backends import pylab_setup
  File "/usr/lib/python3/dist-packages/matplotlib/backends/__init__.py", line 14, in <module>
    line for line in traceback.format_stack()


  matplotlib.use("Agg")
Transforming to str index.
Traceback (most recent call last):
  File "/usr/local/bin/wot", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/wot/__main__.py", line 23, in main
    cmd.main(args)
  File "/usr/local/lib/python3.6/dist-packages/wot/commands/trajectory_trends.py", line 32, in main
    results = wot.tmap.trajectory_trends_from_trajectory(trajectory_ds, matrix, day_field=cell_days_field)
  File "/usr/local/lib/python3.6/dist-packages/wot/tmap/util.py", line 148, in trajectory_trends_from_trajectory
    mean_ds = anndata.AnnData(mean_list[j], pd.DataFrame(index=timepoints), expression_ds.var.copy())
  File "/usr/local/lib/python3.6/dist-packages/anndata/core/anndata.py", line 570, in __init__
    filename=filename, filemode=filemode)
  File "/usr/local/lib/python3.6/dist-packages/anndata/core/anndata.py", line 762, in _init_as_actual
    ['obs_names', 'row_names', 'smp_names'])
  File "/usr/local/lib/python3.6/dist-packages/anndata/core/anndata.py", line 177, in _gen_dataframe
    anno.index = anno.index.astype(str)
  File "/usr/lib/python3/dist-packages/pandas/core/indexes/numeric.py", line 305, in astype
    self.__class__)
TypeError: Setting <class 'pandas.core.indexes.numeric.Float64Index'> dtype to anything other than float64 or object is not supported```

from wot.

joshua-gould avatar joshua-gould commented on June 19, 2024

Sorry that part of our documentation is out of date. I've removed the command from the documentation. We now recommend using Pegasus to generate embeddings.

from wot.

mbk0asis avatar mbk0asis commented on June 19, 2024

from wot.

joshua-gould avatar joshua-gould commented on June 19, 2024

from wot.

joshua-gould avatar joshua-gould commented on June 19, 2024

from wot.

mbk0asis avatar mbk0asis commented on June 19, 2024

Sorry for late reply.
I used the example data and command presented in the tutorial page.

Thank you!

from wot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.