Git Product home page Git Product logo

Comments (3)

MarcElosua avatar MarcElosua commented on June 30, 2024

Hi @JoyOtten
Thank you very much for using SPOTlight.
To identify the differentially expressed genes we use SCTransform as it is the recommended workflow in Seurat to normalize the data. SPOTlight in turn uses unit-variance normalization for both the sc and spatial count matrices.
Hope this helps and please don't hesitate to get back to me if you have any other questions.

from spotlight.

quanc1989 avatar quanc1989 commented on June 30, 2024

Hi @MarcElosua
I am also confused about a similar question.
I understand that you use SCTransform to follow the recommended workflow to identify DE genes.
However, in the example of deconvolution, you suggest as follows

spotlight_ls <- spotlight_deconvolution(se_sc = cortex_sc,
                                        counts_spatial = anterior@assays$Spatial@counts,
                                        clust_vr = "subclass",
                                        cluster_markers = cluster_markers_all,
                                        cl_n = 50,
                                        hvg = 3000,
                                        ntop = NULL,
                                        transf = "uv",
                                        method = "nsNMF",
                                        min_cont = 0.09)

You used the assay of 'SCT' (spatial) for the counts_spatial while 'RNA' for the se_sc (I recognized default assay from the documentation for spotlight_deconvolution)?

As I known, the slot of counts are different between 'SCT' and 'RNA'. Why don't you use the same assay or I missed something?

from spotlight.

MarcElosua avatar MarcElosua commented on June 30, 2024

hi @quanc1989,
As I mentioned in the previous comment SPOTlight uses unit variance normalization to run the model. Regarding the assay of choice to get the DE it is flexible and does not need to be SCT!
Hope this answers your question.

from spotlight.

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.