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. |
sort.by.freq |
If |
k |
Mutation type >k is considered nonsilent, otherwise it is silent. Only applicable when sort.by.freq=TRUE. |
gene.num |
The number of top recurrently mutated genes selected for visualization. |
right.panel |
right panel data. |
right.panel.col |
right panel color. |
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. |
subtype.legend |
A data.frame of subtype legend. |
... |
Parameters pass to image(...). |
mut_cor_permu_test
,plot.CoocurExclus
,plot.coocur
1 2 | data('plot.coocur2.test')
plot.coocur2(dat,MutationForValidate$Wnt_pathway, right.panel=right.panel, right.panel.col=right.panel.col, subtype=subtype, subtype.color=brewer.pal(9, "Paired"), subtype.labels=c("Location ", "Stage ", "Lauren's type"), subtype.legend=legend.panel.df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.