Giter Site home page Giter Site logo

KeyError: missing elements about liana-py HOT 4 CLOSED

saezlab avatar saezlab commented on June 14, 2024
KeyError: missing elements

from liana-py.

Comments (4)

dbdimitrov avatar dbdimitrov commented on June 14, 2024

Hi,

Please check your variable names. The default resource in LIANA is gene symbols. You can see by the error message that no variable matches the resource.

Let me know if this doesn't work :)

from liana-py.

rr-Yiran avatar rr-Yiran commented on June 14, 2024

Hi,

Please check your variable names. The default resource in LIANA is gene symbols. You can see by the error message that no variable matches the resource.

Let me know if this doesn't work :)

Hi! Thanks for replying. I have checked the name, seems they are all already the gene symbols. This is the mouse genes, wonder if this affects that? Thank you.

print(adata.var_names[:50]) # This will print the first 10 gene identifiers
Index(['Xkr4', 'Sox17', 'Rgs20', 'St18', 'Sntg1', 'Cpa6', 'Sulf1', 'Kcnb2',
'Rdh10', 'Gdap1', 'Pi15', 'Crispld1', 'Il17a', 'Khdc1a', 'Kcnq5',
'Ptpn18', 'Neurl3', 'Gm5099', 'Rnf149', 'Il1r2', 'Il1r1', 'Il18r1',
'Il18rap', 'Fhl2', 'Ecrg4', 'Col3a1', 'Col5a2', 'Slc40a1', 'Tmeff2',
'Cavin2', 'Stat4', 'Stk17b', 'Aox3', 'Cd28', 'Ctla4', 'Icos', 'Nrp2',
'Zdbf2', 'Adam23', 'Myl1', 'Erbb4', 'Ikzf2', 'Fn1', 'Mreg', 'Igfbp5',
'Cxcr2', 'Slc11a1', 'Des', 'Pax3', 'Gm29536'],
dtype='object')

from liana-py.

dbdimitrov avatar dbdimitrov commented on June 14, 2024

Hi,

Then if you select the MouseConsensus resource it should work (via resource_name). 🙂

from liana-py.

dbdimitrov avatar dbdimitrov commented on June 14, 2024

I will assume this worked out. Feel free to open new issues.

from liana-py.

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.