# get the result of `exp2cell` funtion
cellmatrix<-GetExampleData("cellmatrix")
#get the binary mutations matrix,
mutmatrix<-GetExampleData("mutmatrix")
# get the result of `mutcorcell` funtion
mutcell<-GetExampleData("mutcell")
#perform the function mutcellsummary
summary<-mutcellsummary(mutcell = mutcell,mutmatrix = mutmatrix,cellmatrix=cellmatrix)
#dir is the name of mutation annotation file (MAF) format data.
#It must be an absolute path or the name relatived to the current working directory.
maf<-system.file("extdata", "example.maf.gz", package = "SMDIC") #MAF file
#plot the co-occurrence and mutual exclusivity plots for mutation genes which drive immune cells.
plotCoocMutex(maffile = maf,mutcell.summary = summary,cellnumcuoff =0)
Run the code above in your browser using DataLab