Git Product home page Git Product logo

Comments (1)

mvfki avatar mvfki commented on August 23, 2024

Hi Yuanzhe,

It looks like a bug from a rare case that we failed to pay attention to in our tests. Thanks for pointing it out and we will get it fixed ASAP.

Currently, I can share you some work around for this issue:

# You can include as many other datasets to use here
peakDatasets <- c("atac") 
# Extract `ligerDataset` class objects requested
datasetObjList <- datasets(int.bmmc)[peakDatasets]
# Extract the peak matrices
# Make sure these datasets are of "atac" modality so it has the slots, otherwise it'll show you an error
rawPeakList <- lapply(datasetObjList, slot, "rawPeak")
peakLiger <- createLiger(rawPeakList)
peakLiger <- normalize(peakLiger)

# Transfer the cluster labels from the original object to the new temporary object for marker calling
peakLiger$cluster <- cellMeta(int.bmmc, "leiden_cluster", useDatasets = "atac")
defaultCluster(peakLiger) <- "cluster"

# It should work this time to run marker detection now
markerTable <-  runMarkerDEG(peakLiger)

Hope this works for you! Please feel free to reach out if there's still any issues.

Best,
Yichen

from liger.

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.