Code Monkey home page Code Monkey logo

Comments (2)

dtm2451 avatar dtm2451 commented on June 1, 2024

I do not currently, but am open to suggestions for how I might do so.

dittoDimPlot currently allows plotting of trajectories over any dimensionality reduction using straight lines between clusters in the trajectory paths. That is as far as I had planned because median cluster centers are easy to calculate, and afterwards, the method for making a straight line between points is unambiguous. There is little methods ambiguity here except in that median is what's used for picking the clusters' centers.

Currently, as far as I have experience at least, trajectory analysis packages tend to only calculate smoothed curves for certain dimensionality reductions. Because there are many options for how to calculate such curves, I do not plan to make dittoSeq into a calculation tool for new curve paths at this time.

That said, I supposed a method for extraction and plotting of calculated curves is possible. geom_path is the geom already used for plotting trajectories, so I suppose that all adding this feature would require conceptually is a method to accept manually provided paths. Perhaps with a list structure similar to the current add.trajectories but with:

  • add.manual.trajectories.x & add.manual.trajectories.y = list of vectors, one for each separate trajectory, of x and y coordinates, that the curves should follow
  • manual.trajectory.arrow.size = size of the arrows

Does that sound like a useful method?

from dittoseq.

j-andrews7 avatar j-andrews7 commented on June 1, 2024

I've submitted #19 to handle this for slingshot output. Does no calculations, just grabs the curve coordinates and plots them.

from dittoseq.

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.