Coder Social home page Coder Social logo

Comments (2)

vadimnazarov avatar vadimnazarov commented on July 2, 2024

Hi @apal6

Thank you for using the package! Could you share an example of a plot with two y-axes? I'm not totally sure that I understood your idea. Something like this?

image

If so, I'm not sure how to do it. I'm not sure if ggalluvial allows this at all. Is there a reason for two plots side-by-side not working for you?

from immunarch.

apal6 avatar apal6 commented on July 2, 2024

Thank you for prompt response @vadimnazarov . Yes, this is essentially what I want:
Sample data:

tc1
       CDR3.aa     conditionA-1           conditionA-2           conditionB-1              conditionB-2
 1:     X               0.0003776435     0.0000000000        0.0000000000          0.0000000000
 2:     Y               0.0004855416     0.0012249898         0.0006634379         0.0005046682

Since the range of proportions in condition A and B varies alot, I thought of plotting them with two seperate axes to see the stacks of clonotypes regardless of how small the proportion is.

Like in the plot below, the scale helps in visualizing the MS1 sample only, if I could have a smaller scale on the right side to also accommodate lower proportion values to visualize other samples as well.

Screenshot 2023-11-02 at 11 10 59 AM

Thank you so much!

from immunarch.

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.