Git Product home page Git Product logo

Comments (4)

MarcElosua avatar MarcElosua commented on August 17, 2024

Hi @galaxyeee,

Thank you for your interest in SPOTlight! Have you tried installing the package arrangements? It seems like it is an unmet dependency!

Best,
Marc

from spotlight.

galaxyeee avatar galaxyeee commented on August 17, 2024

Hi @MarcElosua ,

Thank you very much for your kind reply. This issue has been resolved.
However, the error was not resolved during troubleshooting, so I asked again.
This error occurred during the creation of "mgs_df".

genes <- !grepl(pattern = "^Rp[l|s]|Mt", x = rownames(brca.sce))
I converted the single cell seurat object as a reference into a SingleCellExperiment object and used that data to save the "genes".

mgs <- scoreMarkers(brca.sce, subset.row = genes)
After going through the scoremarkers function, this error occurred.

Error in FUN(x, table, nomatch = nomatch, incomparables = incomparables) : 
  'match' requires vector arguments

5. FUN(x, table, nomatch = nomatch, incomparables = incomparables)
4. match(desired.comparisons, averaged.comparisons)
3. match(desired.comparisons, averaged.comparisons)
2. .cross_reference_to_desired(pre.ave$averaged.comparisons, desired.comparisons, collapse.symmetric = collapse.symmetric)
1. scoreMarkers(brca.sce, row.data = genes, groups = brca.sce$celltype_major)

Or when using SPOTlight function, I wonder if I can just put the markerlist data frame in parameter "mgs" and use other values than "mean.AUC" in "weight_id".

I would really appreciate it if you let me know if there is a solution. Thank you!

Best,
EUNHA

from spotlight.

MarcElosua avatar MarcElosua commented on August 17, 2024

Hi @galaxyeee

Have you set the colLabels(sce) <- factor(cluster) or pass the groups arguments to specify the cell type groups out <- scoreMarkers(sce, groups=kout$cluster)?

It could be the issue is there.
Best,
Marc

from spotlight.

galaxyeee avatar galaxyeee commented on August 17, 2024

Hi @MarcElosua
Thanks to you, I solved the error.
Thank you.

Best,
EUNHA

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.