Code Monkey home page Code Monkey logo

Comments (5)

nargesr avatar nargesr commented on July 26, 2024 1

if you can send me a subset of your data that would be great (you can email me: [email protected])

from pywgcna.

nargesr avatar nargesr commented on July 26, 2024

Hi,

Can you tell me how you make your anndata object? it's maybe because you have a different layer name rather than the default name (X)

from pywgcna.

simonmfr avatar simonmfr commented on July 26, 2024

Thanks for the quick response. The anndata object contained mutliple layers, right:

merged.layers
> Layers with keys: counts, normalized, normalized_jointly

Although if I rename to X, I still get the same error. I also tried to delete all other layers:

merged.layers["X"] = merged.layers["normalized_jointly"]
merged.X = merged.layers["X"]

del merged.layers["counts"]
del merged.layers["normalized"]
del merged.layers["normalized_jointly"]

merged.layers
> Layers with keys: X

wgcna = PyWGCNA.WGCNA(species='mouse', anndata=merged, save=False)
> # loading works fine

wgcna.preprocess()
> # fails as above

Any other ideas? Might be good to know that the anndata object is based on spatial data (Visium).

from pywgcna.

simonekats avatar simonekats commented on July 26, 2024

Hi! I have the same issue can I also email?

from pywgcna.

nargesr avatar nargesr commented on July 26, 2024

Hi @simonmfr

Please open an issue including the version of PyWGCNA you used, how you made your anndata, and the error you got.

from pywgcna.

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.