Description Usage Arguments See Also Examples
View source: R/plot.CoocurExclus.R
Visualize mutaiton coocurrence and exclusivity.
1 |
d |
Mutation matrix with gene and sample names as columan and row names, respectively. The integer in each cell represents different mutation types. |
genes |
A vector of gene names. |
gene.num |
The number of top recurrently mutated genes selected for visualization. |
discard.syn |
If TRUE discard syn mutation in calculating gene mutation frequency. |
num.of.smp |
The number of samples used in calculating gene mutation frequency. |
image.color |
A vector of 8 elements representing a color scheme. |
show.legend |
If TRUE draw legend panel |
legend.panel |
Legend panel, e.g. legend.panel=data.frame(V1=c(7,6,5,4,3,2),V2=c('Nonsense','Splice site','Frame shift','Inframe shift','Missense','Syn.')) |
... |
Parameters pass to image(...). |
1 2 3 | library(RColorBrewer)
data("CRCMutMat", package='lxctk')
plot.CoocurExclus(mutmat, gene.num=26)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.