Coder Social home page Coder Social logo

Comments (6)

M0hammadL avatar M0hammadL commented on May 24, 2024

Hi @notimenocall. The current ecosystem requires gene names to be the same. Thus, the query genes should be subsetted to the ones in reference otherwise set zero for the ones which are not available. For example, if you x_ref = [g1, g2, g3] and your query has x_qeury = [g1, g3] then the x_qeury should change to x_qeury = [g1, 0, g3] . More importantly, x_qeury can not include any gene name which is not included in the reference data.

from scarches.

notimenocall avatar notimenocall commented on May 24, 2024

Thanks for your reply and clarification. This is what I have been doing now.
I am just thinking will this create bias, since the hvg are not selected based on the query data sets.

from scarches.

M0hammadL avatar M0hammadL commented on May 24, 2024

yes, you are right. This might induce a bias. However, the assumption is the reference data is so rich and it hast most of the signal which is needed for that organ. Incorporating new genes that were not included in reference might not make that much sense if we never had that gene and will be hard if we had this gene and the gene did not make it to final training data after feature selection. I will think about it and see if we can find an intermediate solution in later updates.

from scarches.

notimenocall avatar notimenocall commented on May 24, 2024

It makes sense. Alternatively, will it help or hurt to include more hvg genes (> 5k?) when training the reference? Thank you.

from scarches.

M0hammadL avatar M0hammadL commented on May 24, 2024

@notimenocall it depends on the organ or the complexity of the system you are working with, I would start with 2k and then go to 5k. For multi-tissue/species analysis higher genes are needed.

from scarches.

notimenocall avatar notimenocall commented on May 24, 2024

Good point. Thank you.

from scarches.

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.