Learn R Programming

MAFDash (version 0.2.1)

createOncoMatrix: Creates matrix for oncoplot

Description

Creates matrix for oncoplot from maf file

Usage

createOncoMatrix(maf, g = NULL, add_missing = FALSE)

Arguments

maf

The MAF object

g

g

add_missing

add_missing

Value

A list of objects to be used as an input for generateOncoPlot function

Examples

Run this code
# NOT RUN {
library(MAFDash)
library(maftools)
maf <- system.file("extdata", "test.mutect2.maf.gz", package = "MAFDash")
oncoMatrix<-createOncoMatrix(read.maf(maf),g=c("GNA11","MACF1"))
# }

Run the code above in your browser using DataLab