Giter Club home page Giter Club logo

Comments (10)

davek44 avatar davek44 commented on August 14, 2024

HashSolo is meant for working with hashing data. Are you simply attempting to call doublets? We haven’t worked with a data set with only 800 cells before. Solo benefits from larger data sets, so you might do fine with some of the linear methods like scrublet or doublet finder.

from solo.

Kani0n avatar Kani0n commented on August 14, 2024

from solo.

davek44 avatar davek44 commented on August 14, 2024

The output file is_doublets.npy contains binary doublet calls. You can see that and all of the other output files in the lines of code after this one: https://github.com/calico/solo/blob/master/solo/solo.py#L394

from solo.

Kani0n avatar Kani0n commented on August 14, 2024

is_doublets.npy contains over 10k values, how do i know which of these are the predictions for my cells?

from solo.

davek44 avatar davek44 commented on August 14, 2024

If you think your data has 800 cells, but is_doublets.npy has 10k values, then it's likely the input data isn't formatted according to Solo's assumptions. Could you send me more information about how you're running Solo and the format of your input data? Is it possible the gene expression matrix is transposed relative to the typical Cell x Gene format?

from solo.

Kani0n avatar Kani0n commented on August 14, 2024

I actually misspoke earlier,
I have an h5ad file of 12013 cells 816 of them predicted to be doublets by AMULET. In my output folder there is for example the is_doublets.npy vector, but tthis one as well as all the other outputs are 10992 long. What i now want to know is which of my cells Solo predicted to be a doublet (True inside the vector).

from solo.

davek44 avatar davek44 commented on August 14, 2024

Are you saying that you don’t understand how to read the vector stored in is_doublets.npy? Or are you saying that you don’t understand how your 12,013 cells was filtered down to 10,992?

from solo.

Kani0n avatar Kani0n commented on August 14, 2024

I am interested in what cells are labelled "True" and what cells are "False".
e.g:
cell1: False
cell2: True
...

from solo.

davek44 avatar davek44 commented on August 14, 2024

OK, you'll want to read the is_doublets.npy file using a command like the following in a python terminal, notebook, script.

cell_doublets = np.load('is_doublets.npy')

cell_doublets will contain a numpy array with type boolean. To determine whether Solo predicts cell 1 to be a doublet, check cell_doublets[0] in the array. To determine whether Solo predicts cell 2 to be a doublet, check cell_doublets[1] in the array. And so on.

from solo.

njbernstein avatar njbernstein commented on August 14, 2024

@davek44 seems like we can close this out

from solo.

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.