plot.CoocurExclus: Visualize mutation coocurrence and exclusivity.

Description Usage Arguments See Also Examples

View source: R/plot.CoocurExclus.R

Description

Visualize mutaiton coocurrence and exclusivity.

Usage

1
plot.CoocurExclus(d, genes=NULL, gene.num=26, discard.syn=F, num.of.smp=NULL, image.color=NULL,show.legend=T, legend.panel=NULL,...)

Arguments

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(...).

See Also

mut_cor_permu_test

Examples

1
2
3
library(RColorBrewer)
data("CRCMutMat", package='lxctk')
plot.CoocurExclus(mutmat, gene.num=26)

lixiangchun/lxctk documentation built on May 21, 2019, 6:44 a.m.