Coder Social home page Coder Social logo

Comments (4)

gdagstn avatar gdagstn commented on August 24, 2024

Hi Cathal, thanks for reporting.

Would you mind checking how the geneset intersects with the rownames of your object?

Something like:

lapply(genesets, function(x) table(x %in% rownames(sce)))

where genesets is the list containing the Hay bone marrow sets.

from cellula.

cathalgking avatar cathalgking commented on August 24, 2024
> str(result)
List of 700
 $ AIZARANI_LIVER_C1_NK_NKT_CELLS_1                                          : 'table' int [1(1d)] 195
  ..- attr(*, "dimnames")=List of 1
  .. ..$ : chr "TRUE"
 $ AIZARANI_LIVER_C10_MVECS_1                                                : 'table' int [1:2(1d)] 6 287
  ..- attr(*, "dimnames")=List of 1
  .. ..$ : chr [1:2] "FALSE" "TRUE"
 $ AIZARANI_LIVER_C11_HEPATOCYTES_1                                          : 'table' int [1:2(1d)] 3 327
  ..- attr(*, "dimnames")=List of 1
  .. ..$ : chr [1:2] "FALSE" "TRUE"
 $ AIZARANI_LIVER_C12_NK_NKT_CELLS_4                                         : 'table' int [1(1d)] 59
  ..- attr(*, "dimnames")=List of 1
  .. ..$ : chr "TRUE"
 $ AIZARANI_LIVER_C13_LSECS_2                                                : 'table' int [1:2(1d)] 9 301
  ..- attr(*, "dimnames")=List of 1
  .. ..$ : chr [1:2] "FALSE" "TRUE"`
$AIZARANI_LIVER_C1_NK_NKT_CELLS_1

TRUE 
 195 

$AIZARANI_LIVER_C10_MVECS_1

FALSE  TRUE 
    6   287 

$AIZARANI_LIVER_C11_HEPATOCYTES_1

FALSE  TRUE 
    3   327 

$AIZARANI_LIVER_C12_NK_NKT_CELLS_4

TRUE 
  59 

$AIZARANI_LIVER_C13_LSECS_2

FALSE  TRUE 
    9   301 

$AIZARANI_LIVER_C14_HEPATOCYTES_2

FALSE  TRUE 
    2   263 ```

from cellula.

gdagstn avatar gdagstn commented on August 24, 2024

ok it sounds like there aren't many genes missing for every signature - I'd say you can proceed as usual. if you see very weird results let me know!

from cellula.

cathalgking avatar cathalgking commented on August 24, 2024

This worked with the following:
sce = assignIdentities(sce, genesets = plasma_genes, method = "UCell", name = "UCell_plasma")
Thanks

from cellula.

Related Issues (2)

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.