Giter Site home page Giter Site logo

Comments (2)

csangara avatar csangara commented on August 18, 2024

Thanks for using our package!

I'd first like to ask some clarifications on your issue, as the function you are running comes before the one referenced in issue #220.

Let us refer to the output from nichenet_seuratobj_aggregate() as nichenet_output. Do you mean that the DE genes you retrieved from nichenet_output$geneset_oi and the top ligands from nichenet_output$top_ligands are not specific to "condition_oi"?

If that is the case, then it's not an error, but the way the package was designed. For the gene set of interest (geneset_oi), all DE genes between the two conditions are considered. If you would like to only include upregulated genes in the condition of interest, you may use the argument geneset="up" in the function .

As for the ligands: by default, potential ligands are defined as genes expressed in at least 10% of the sender cell type (both conditions considered together) whose cognate receptors are also expressed in at least 10% of the receiver cell type. So this does not have any condition specificity in the function you are running. If you would like to only consider upregulated ligands in the analysis, you can follow the approach suggested here, or you can follow the prioritization approach here (which was the one referenced to in #220).

Hope this helps; feel free to reply to this issue if I misunderstood or if you have any further questions! 😄

from nichenetr.

singlecellfan avatar singlecellfan commented on August 18, 2024

Thanks for getting back to so quickly! Much appreciated.

I see, I must have misunderstood the first part. In fact I was only interested in the upregulated genes in the condition of interest. This is way I was a bit confused about the results.

I will try your suggestions and follow the other approaches linked.
Thank you very much!

from nichenetr.

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.