Build the reusable panels and tidy data used by oncoplot().
This function is intended for downstream packages that want to assemble
an oncoplot with additional tracks while reusing the aplotExtra mutation
matrix, sample burden, gene burden, and mutation color mapping.
oncoplot_components(maf, genes = 20)A list with components:
Tidy oncoplot matrix.
Main mutation tile plot.
Sample-level top annotation plot.
Gene-level side annotation plot.
Named mutation-class color vector.
A MAF object.
The gene names or number of top mutated genes.