Coder Social home page Coder Social logo

Error in Define the tip cells about urd HOT 5 CLOSED

farrellja avatar farrellja commented on July 21, 2024
Error in Define the tip cells

from urd.

Comments (5)

YiqunW avatar YiqunW commented on July 21, 2024

As the error suggests, you need to define clustering as the name of the column in [email protected] that stores the clustering result you want to use. For example, clustering <- 'Louvain-15'.

from urd.

Yichel518 avatar Yichel518 commented on July 21, 2024

@YiqunW
Hello, I set "clustering" as Louvain-30,
but the result of tips is
image
And then I get info my cluster.arguments file is
image
image
so I amended my command as clustering <- 'Infomap-30',
but the result was the same as above.

from urd.

Yichel518 avatar Yichel518 commented on July 21, 2024

And I can not clearly understand the next step: this.tip <- tips[tip.to.walk] # tip.to.walk was passed by the cluster job array.
What is the "tip.to.walk"? Did I miss the previous steps?
Many thanks

from urd.

YiqunW avatar YiqunW commented on July 21, 2024

Please follow steps in URD-03-ClusteringAndDeterminingTips to transfer clustering assignment for 6-somite data to the main object (see sections "Generate final clusterings" and "Transfer clusterings to main object").
Since the tips represent the most developed cell states in our tree, they should be found at the oldest developmental stage in the data, which is 6-somite. Once you transfer the 6-somite clustering results to the main object, you should choose one of them to set your tips (tips <- setdiff(unique([email protected][,6somiteClustering]), NA)).
tip.to.walk should correspond to one of the 6-somite clusters you use as your tips. It specifies from which tip the random walks are going to be simulated. We ran this chunk of code as a job array submitted to a research computing cluster so that we can run random walks from each tip in parallel to save time. So in our case tip.to.walk was passed by the cluster job array, but you can certainly define it in the code.

from urd.

Yichel518 avatar Yichel518 commented on July 21, 2024

@YiqunW ,Thanks for your kind help. and now I run

Do the random walks

these.walks <- simulateRandomWalk(start.cells=tip.cells, transition.matrix=biased.tm, end.cells=root.cells, n=walks.to.do, end.visits=1, verbose.freq=round(walks.to.do/20), max.steps=5000). but I do not know whats is the "n=walks.to.do"? At first, I guessed the number of cells, but after running for a long time, there was no result, just like a dead program.

from urd.

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.