Percentages of samples mutated in individual tumour
1
1
Entering edit mode
7.9 years ago
rahel14350 ▴ 40

Dear all,

do anyone know any R package or program can produce this figure. I could not find such a thing in Maftool or GenVisR.

http://www.nature.com/nature/journal/v502/n7471/fig_tab/nature12634_F2.html

Many thanks in advance, Rahel

Maftool GenVisR SNP frequency SNP percentage • 1.6k views
ADD COMMENT
0
Entering edit mode

Looks like a customized heatmap, but perhaps there is a more specific tool.

ADD REPLY
1
Entering edit mode
7.9 years ago

With the corrplot package in R you should get pretty close to that, e.g:

install.packages('corrplot')
library(corrplot)
M<- matrix(data= rnorm(n= 100), nrow= 20)
rownames(M)<- letters[1:nrow(M)]
colnames(M)<- letters[1:ncol(M)]
corrplot(M, is.corr= FALSE, method= 'color', addCoef.col= 'black')

For a one-off figure it might be easier to do it with Excel using the conditional formatting option (Format -> Conditional formatting)

ADD COMMENT

Login before adding your answer.

Traffic: 1953 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