mc.plotContext: Plot histogram of the 96 possible mutations

Description Usage Arguments Value

View source: R/plot_context.R

Description

Plot histogram of the 96 possible mutations

Usage

1
2
3
mc.plotContext(mutnet, base.ref.col = "ref.allele",
  base.alt.col = "alt.allele", base.3p.col = "base.3p",
  base.5p.col = "base.5p", trinuc.pc, symetrize = c(TRUE, FALSE)[1])

Arguments

mutnet

A list of dataframe with mutations infos for each sample

base.ref.col

Name of the column with the reference allele in dataframe

base.alt.col

Name of the column with the alternative allele in dataframe

base.3p.col

Name of the column with the base after the mutation in dataframe

base.5p.col

Name of the column with the base before the mutation in dataframe

trinuc.pc

Array of the proportion of each trinucleotide in the genome (for normalisation)

symetrize

Boolean to symetrize reversable mutations or not

Value

A ggplot object to plot


EmilieT/mutcraft documentation built on May 6, 2019, 3:47 p.m.