Description Usage Arguments See Also Examples
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. |
dist.to.left |
Distance between image to the left hand side margin, increase to if gene symbol truncated. |
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.')) |
subtype |
A vector of subtype, named by samples. |
subtype.color |
A vector of subtype colors. |
subtype.labels |
A vector of subtype legend. |
... |
Parameters pass to image(...). |
mut_cor_permu_test
,plot.CoocurExclus
1 2 3 | library(RColorBrewer)
data("CRCMutMat", package='lxctk')
plot.coocur(mutmat, gene.num=26)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.