Knowledge base

Sushi packge to plot Bedpe figure

Introduction

The BEDPE format can concisely describe disjoint genome features, such as structural variations or paired end sequence alignments. The plotBedpe function can visualize it.

Code explanation

Input

bedpe format data frame。

head(Sushi_5C.bedpe)

As follows

    chrom1 start1 end1 chrom2 start2 end2 name score strand1
chr2 234208447 234223064 chr2 234156762 234159135 NA 44.39862 .
chr15 41711734 41718116 chr15 41802421 41808201 NA 20.62534 .
chr11 64172456 64183193 chr11 64068878 64079209 NA 16.91630 .
chr2 234208447 234223064 chr2 234163674 234170252 NA 12.34501 .
chr6 41755186 41769245 chr6 41435903 41452283 NA 11.63480 .
chr11 64159283 64172456 chr11 64068878 64079209 NA 11.13098 .
strand2 samplenumber
. 1
. 1
. 1
. 1
. 1
. 1
Code example
library('Sushi')  # 加载Sushi包

Sushi_data = data(package ='Sushi') # 列出Sushi自带的数据
data(list = Sushi_data$results[,3]) # 载入data

chrom = "chr11"
chromstart = 1650000
chromend = 2350000

pbpe = plotBedpe(Sushi_5C.bedpe,chrom,chromstart,chromend,
heights = Sushi_5C.bedpe$score,plottype="loops",
colorby=Sushi_5C.bedpe$samplenumber,colorbycol=SushiColors(3))

labelgenome(chrom, chromstart,chromend,n=3,scale="Mb") # Add coordinate

legend("topright",inset =0.01,legend=c("K562","HeLa","GM12878"),col=SushiColors(3)(3),pch=19,bty='n',text.font=2)  # Add legend

axis(side=2,las=2,tcl=.2)  # Add y axis

mtext("Z-score",side=2,line=1.75,cex=.75,font=2) # y text

It can also be displayed like the UCSC transcriptome, using flip=TRUE to set the axis on the top, and plottype="lines" to display in the form of lines.

chrom = "chr11"
chromstart = 1650000
chromend = 2350000

pbpe = plotBedpe(Sushi_5C.bedpe,chrom,chromstart,chromend,flip=TRUE,
plottype="lines",colorby=Sushi_5C.bedpe$score,colorbycol=SushiColors(5))

labelgenome(chrom, chromstart,chromend,side=3,n=3,scale="Mb") 

addlegend(pbpe[[1]],palette=pbpe[[2]],title="Z-score",side="right",bottominset=0.05,
topinset=0.05,xoffset=-.035,labelside="right",width=0.025,title.offset=0.045)

Reference

https://www.bioconductor.org/packages/release/bioc/vignettes/Sushi/inst/doc/Sushi.pdf

105 thoughts on “Sushi packge to plot Bedpe figure

  1. I know this if off topic but I’m looking into starting my own weblog and was wondering
    what all is required to get set up? I’m assuming having
    a blog like yours would cost a pretty penny? I’m not very
    web smart so I’m not 100% sure. Any suggestions or advice would be
    greatly appreciated. Thank you

    1. This is my method, I hope it can help you: set up a server in the Amazon Lightsail, and then use wordpress to write a blog in your server.

  2. Greetings I am so delighted I found your weblog,
    I really found you by accident, while I was researching on Google for something else, Anyhow I am here now
    and would just like to say cheers for a
    remarkable post and a all round thrilling blog (I also love the theme/design),
    I don’t have time to read it all at the moment but I
    have book-marked it and also included your RSS feeds, so when I have time I
    will be back to read a lot more, Please do keep up the fantastic job.

    Visit my web blog; mega888 ios

  3. Hey! I could have sworn I’ve been to this site before but after checking through some of the post I realized it’s new
    to me. Nonetheless, I’m definitely happy I found it and I’ll be bookmarking and checking back frequently!

    My web site: pussy888 down

  4. I think that everything typed was actually very logical.
    However, what about this? suppose you were to write a killer headline?
    I ain’t saying your content isn’t good, however
    what if you added a headline to possibly get a person’s attention? I mean Sushi packge to plot Bedpe figure – The Code Search is kinda
    boring. You ought to peek at Yahoo’s home page and watch how they create news titles to get
    people interested. You might try adding a
    video or a picture or two to grab people excited about everything’ve got to say.
    In my opinion, it would make your posts a little bit
    more interesting.

    Here is my site; xe88 download (covid311wiki.info)

  5. Thank you for every other magnificent post. Where else
    may just anyone get that kind of info in such an ideal
    way of writing? I have a presentation subsequent
    week, and I am at the search for such information.

  6. I am really loving the theme/design of your web
    site. Do you ever run into any web browser compatibility problems?
    A couple of my blog visitors have complained about my website not working correctly in Explorer but looks great in Chrome.
    Do you have any suggestions to help fix this issue?

    Feel free to visit my homepage; mademental.co.uk

  7. Woah! I’m really loving the template/theme
    of this website. It’s simple, yet effective. A lot of times it’s challenging to
    get that “perfect balance” between user friendliness and visual appeal.

    I must say that you’ve done a excellent job with this.
    In addition, the blog loads super fast for me on Chrome.
    Excellent Blog!

    my webpage; xe88 apk; wiki.odcpkintranet.org,

  8. This is really interesting, You’re a very skilled blogger.
    I’ve joined your rss feed and look forward to seeking
    more of your magnificent post. Also, I’ve shared your web site in my
    social networks!

  9. Howdy I am so delighted I found your site, I really found you by
    mistake, while I was searching on Digg for something
    else, Anyways I am here now and would just like to say thanks for
    a marvelous post and a all round interesting blog
    (I also love the theme/design), I don’t have time to browse it all at the minute but I
    have book-marked it and also added in your RSS feeds, so when I have time I will be back to read a great
    deal more, Please do keep up the awesome job.

  10. It’s the best time to make some plans for the future and
    it is time to be happy. I’ve read this post and if I
    could I wish to suggest you some interesting things or tips.
    Maybe you could write next articles referring to this article.
    I want to read even more things about it!

  11. Hi, I do think this is a great site. I stumbledupon it 😉 I’m going to come
    back once again since I saved as a favorite it. Money and freedom
    is the best way to change, may you be rich and continue to
    help other people.

    Here is my web site :: pusy888

  12. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is
    added I get three e-mails with the same comment.
    Is there any way you can remove me from that service? Many thanks!

  13. Hello are using WordPress for your blog platform?
    I’m new to the blog world but I’m trying to get started and set up my
    own. Do you require any html coding knowledge to make your own blog?

    Any help would be really appreciated!

  14. Simply wish to say your article is as astonishing.
    The clearness on your put up is simply excellent and that i could
    assume you’re an expert in this subject. Well with your permission allow me to clutch your RSS feed to stay up to date with imminent post.
    Thanks 1,000,000 and please keep up the gratifying work.

  15. Someone essentially lend a hand to make seriously posts I might state.
    That is the very first time I frequented your
    web page and thus far? I amazed with the analysis you made to make
    this actual put up amazing. Excellent activity!

  16. I always used to study article in news papers but now as I am a user of internet thus from now I am using net for content,
    thanks to web.

  17. An outstanding share! I’ve just forwarded this onto a friend who has been conducting a little research
    on this. And he in fact bought me breakfast due to the fact that I stumbled upon it for him…
    lol. So allow me to reword this…. Thank YOU for the meal!!
    But yeah, thanks for spending some time to talk about this topic here on your web site.

    Feel free to surf to my site :: xe88 malaysia

  18. Hiya very cool website!! Man .. Beautiful ..

    Amazing .. I will bookmark your blog and take the feeds additionally?
    I am glad to seek out a lot of useful information here in the
    publish, we want develop more strategies in this regard, thanks for sharing.
    . . . . .

  19. Fantastic goods from you, man. I have understand your
    stuff previous to and you’re just extremely wonderful.
    I actually like what you have acquired here, certainly like what you are stating and the way in which you
    say it. You make it enjoyable and you still care for to keep it smart.
    I can’t wait to read much more from you. This is really a wonderful site.

  20. What’s Taking place i am new to this, I stumbled upon this I have found It positively useful and it has
    helped me out loads. I’m hoping to give a contribution & help
    different customers like its aided me. Good job.

    Also visit my web-site: http://www.ilevis.cn

  21. Wonderful beat ! I wish to apprentice while you amend your website, how can i
    subscribe for a blog web site? The account aided me a acceptable deal.
    I had been tiny bit acquainted of this your broadcast offered bright
    clear concept

  22. May I simply say what a relief to uncover someone who really understands
    what they’re discussing over the internet. You actually know how to bring a problem to
    light and make it important. A lot more people have to check this out and understand
    this side of your story. I was surprised you’re not more popular given that you surely
    possess the gift.

  23. I just could not depart your site prior to suggesting that I extremely loved the standard info a person supply to your guests?
    Is going to be back steadily to check out new posts.

    Here is my site: kebe.top

  24. I loved as much as you’ll receive carried out right here.
    The sketch is attractive, your authored material stylish. nonetheless, you
    command get bought an shakiness over that you wish be
    delivering the following. unwell unquestionably come more formerly again since exactly the same nearly a lot often inside
    case you shield this increase.

  25. Hi, I do think this is a great site. I stumbledupon it 😉
    I am going to return once again since I bookmarked it. Money and freedom is
    the best way to change, may you be rich and continue to guide other people.

  26. Today, I went to the beachfront with my children. I found a sea shell and gave it to my 4 year old daughter
    and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed.
    There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!

  27. Hey there, I think your site might be having browser compatibility issues.
    When I look at your blog in Ie, it looks fine but when opening in Internet Explorer,
    it has some overlapping. I just wanted to give you a quick heads up!
    Other then that, awesome blog!

  28. It’s really a great and useful piece of info. I’m glad that you simply shared this
    helpful info with us. Please keep us up to date like this.

    Thanks for sharing.

  29. whoah this weblog is magnificent i love studying your
    posts. Keep up the good work! You understand, lots of individuals are searching around
    for this information, you can help them greatly.

  30. Very good blog! Do you have any tips for aspiring writers?
    I’m hoping to start my own blog soon but I’m a
    little lost on everything. Would you suggest starting with a
    free platform like WordPress or go for a paid option? There are
    so many options out there that I’m totally overwhelmed .. Any tips?
    Cheers!

  31. I got this web page from my friend who informed me regarding this web page and now this time I am browsing
    this website and reading very informative articles or reviews at this place.

  32. I blog often and I seriously appreciate your content.
    This great article has really peaked my interest. I am going to bookmark your blog and
    keep checking for new details about once a week.

    I subscribed to your RSS feed too.

  33. Can I simply just say what a relief to uncover somebody that really
    knows what they are talking about online. You certainly know how to bring a problem to light and make it important.
    More people need to read this and understand this side of
    your story. I was surprised you are not more popular since you definitely have the gift.

  34. When I initially commented I seem to have clicked on the -Notify me when new comments are
    added- checkbox and now whenever a comment is added I receive
    4 emails with the same comment. Perhaps there is
    an easy method you can remove me from that service?
    Appreciate it!

  35. Hi! I realize this is sort of off-topic but I had to ask.
    Does operating a well-established blog like yours require a large amount
    of work? I’m completely new to operating a blog but I do
    write in my journal every day. I’d like to start a
    blog so I will be able to share my personal
    experience and thoughts online. Please let me know if you have any kind of suggestions or tips for new aspiring blog owners.
    Appreciate it!

  36. Does your website have a contact page? I’m having trouble
    locating it but, I’d like to send you an e-mail. I’ve got some ideas for
    your blog you might be interested in hearing.
    Either way, great site and I look forward
    to seeing it grow over time.

Leave a Reply to https://www.minerva.gallery/index.php?action=profile;u=517158 Cancel reply

Your email address will not be published. Required fields are marked *