Any packages for barplot with specific features
0
0
Entering edit mode
Haiying.Kong ▴ 110
@haiyingkong-9254
Last seen 5.1 years ago
Germany

  If I want to plot a barplot like this

Inline image 1

http://cancer.sanger.ac.uk/signatures/Signature-1.png

  Can I do this with any R bioconductor packages?

  I probably can figure out other part, but the top part seems difficult.

Inline image 2

  Also, on the bottom, on x-axis, how can I make the nucleotides in the center have different colors?

  Thank you very much in advance.

 

 

> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

bioconductor • 777 views
ADD COMMENT
0
Entering edit mode

i dont think you need to do it all in ggplot, you can do everything apart from the topbar and then just do that part in inkscape
 

ADD REPLY

Login before adding your answer.

Traffic: 503 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6