Coder Social home page Coder Social logo

Comments (7)

cbravo93 avatar cbravo93 commented on July 20, 2024

Hi,

Can you check colnames([email protected])?

Cheers,

C

from cistopic.

jk86754 avatar jk86754 commented on July 20, 2024

There is indeed no 'graphBasedClusters_CRA' in the colnames.

colnames([email protected])
[1] "nCounts" "nAcc" "10X_total" "10X_duplicate"
[5] "10X_chimeric" "10X_unmapped" "10X_lowmapq" "10X_mitochondrial"
[9] "10X_passed_filters" "10X_cell_id" "10X_is__cell_barcode" "10X_TSS_fragments"
[13] "10X_DNase_sensitive_region_fragments" "10X_enhancer_region_fragments" "10X_promoter_region_fragments" "10X_on_target_fragments"
[17] "10X_blacklist_region_fragments" "10X_peak_region_fragments" "densityClust"

I re-ran

cisTopicObject_d0 <- addCellMetadata(cisTopicObject_d0, graphBasedClusters_CRA_d0)

and now the colname does appear and cellTopicHeatmap works. Not sure why i had to add it again but it does work now :)

Still not sure about cellTopicHeatmap, though...

from cistopic.

cbravo93 avatar cbravo93 commented on July 20, 2024

Can you check if the densityClust column is a factor?

from cistopic.

jk86754 avatar jk86754 commented on July 20, 2024

is.factor([email protected]$densityClust)
[1] TRUE

Thanks,

Joe

from cistopic.

JBreunig avatar JBreunig commented on July 20, 2024

Just to chime in, I had the same problem, having to run "cisTopicObject_d0 <- addCellMetadata(cisTopicObject_d0, graphBasedClusters_CRA_d0)" twice.

To be fair, I never figured out exactly at which step the metadata got dropped but re-running that command always solved it.

from cistopic.

cbravo93 avatar cbravo93 commented on July 20, 2024

May it be in this line (on the densityClust part)?

[email protected] <- [email protected][, -ncol([email protected])]

It is not made to be run, I added it for deleting the densityClust column when checking parameters, will take it out. For the error in cellTopicHeatmap, does it also occur when using the precomputed cisTopicObject?

Cheers,

C

from cistopic.

jk86754 avatar jk86754 commented on July 20, 2024

Thanks. If i can make densityClust work, cellTopicHeatmap works as well.

from cistopic.

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.