Learn R Programming

aplotExtra (version 0.0.3)

oncoplot: ploting oncoplot with aplot

Description

ploting oncoplot with aplot

Usage

oncoplot(maf, genes = 20)

Value

oncoplot object, which is also a aplot object

Arguments

maf

MAF object.

genes

the gene names or the number, default is 20.

Examples

Run this code
# \donttest{
laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml.clin <- system.file('extdata', 'tcga_laml_annot.tsv', package = 'maftools')
laml <- maftools::read.maf(maf = laml.maf, clinicalData = laml.clin)
oncoplot(maf = laml, genes = 20)
# }

Run the code above in your browser using DataLab