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

Description Usage Arguments Value

View source: R/make.saturation.plots.r

Description

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

Usage

1
2
3
4
5
6
7
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


califano-lab/MOMA documentation built on June 7, 2020, 7:17 a.m.