getDataFrame {MOMA} | R Documentation

## Helper function to get data frame for bar plot plot.events function

### Description

Helper function to get data frame for bar plot plot.events function

### Usage

    getDataFrame(
      data,
      highlight.genes,
      genomeBand_2_gene,
      max.muts = 10,
      max.cnv = 5
    )

### Arguments

`data` | data.frame with $type, $id, $Freq per event
`highlight.genes` | genes to look for in mutations/cnv lists (if looking for specific genes because of prior knowledge)
`genomeBand_2_gene` | mapping of genomic location IDs to gene name: vector of HUGO gene ids, named by genomic loci
`max.muts` | maximum number of mutations to get per sample, default is 10
`max.cnv` | maximum number of cnvs to per sample, default is 5

### Value

ordered data frame with each genomic event and it's frequency

[Package MOMA version 1.6.0 Index]