Giter Site home page Giter Site logo

how to get h5 files ? about cell_blast HOT 3 CLOSED

BinDuan avatar BinDuan commented on June 1, 2024
how to get h5 files ?

from cell_blast.

Comments (3)

Jeff1995 avatar Jeff1995 commented on June 1, 2024

Sorry for the delayed response. The h5 files can be found at https://cblast.gao-lab.org/download. You can click the dataset names (first column) there to download the h5 files.

from cell_blast.

BinDuan avatar BinDuan commented on June 1, 2024

Thanks for your response and it is helpful. However, what I want to know is that how should I creat "h5" files that satisfy the input of Cell_BLAST with my own data which your datasets didn't contain.

from cell_blast.

Jeff1995 avatar Jeff1995 commented on June 1, 2024

In that case, it might be unnecessary to convert to the h5 files and load them from disk. What's the current data format you have? If it's in AnnData or Loom format, you can use the from_anndata or from_loom methods to convert them into cb.data.ExprDataSet class, which can then be used as input of Cell BLAST. Otherwise, you may first manually read your dataset into memory, and then create a cb.data.ExprDataSet object (via the class constructor) with the expression matrix, cell meta table and gene meta table. To save the cb.data.ExprDataSet object to h5 files, use the write_dataset method.

Hope that helps!

from cell_blast.

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.