Giter Site home page Giter Site logo

exon labeling about wiggleplotr HOT 2 CLOSED

fifdick avatar fifdick commented on September 6, 2024
exon labeling

from wiggleplotr.

Comments (2)

kauralasoo avatar kauralasoo commented on September 6, 2024

Hi,
That's a very good question! Unfortunately this is currently not implemented, but with some effort you could compose such plot yourself. If you call the plotCoverage() function with the parameter return_subplots_list = TRUE, then it returns a list of two ggplot objects - one containing the coverage plot and the other one containing the genomic (transcript) annotations. Internally, plotCoverage() uses cowplot::plot_grid() function to paste these two plots together (see line 261 in here: https://github.com/kauralasoo/wiggleplotr/blob/master/R/wiggleplotr.R#L261)

So what you could do is:

  1. Use plotCoverage() function with return_subplot_list = TRUE to make the read coverage plot.
  2. Modify the plotTranscripts() function to add exon identifiers and make a new transcript annotations plot.
  3. Use cowplot::plot_grid() to paste the two plots together.

I do appreciate that Step 2 might be quite complicated.

Best,
Kaur

from wiggleplotr.

fifdick avatar fifdick commented on September 6, 2024

from wiggleplotr.

Related Issues (12)

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.