plotTraces: Plot traces for a single complex or protein.

Description Usage Arguments Value Examples

View source: R/dataVisualization.R

Description

Plot traces for a single complex or protein.

Usage

1
2
plotTraces(traces.dt, subunit.id.col, parent.id.col, title = "", plot = T,
  log = F)

Arguments

traces.dt

A long list style data.table holding the traces.

subunit.id.col

A string giving the name of the subunit column.

subunit.id.col

A string giving the name of the parent column.

subunit.id.col

A string giving the name of the parent name column.

Value

The ggplot plot object

Examples

1
2
3
4
5
peptraces <- widePepTracesToLong(e4.peptide.traces.wide.filtered)
prottraces <- produceProteinTraces(peptraces)
prottraces.wc <- annotateProteinTraces(prottraces, corum.complex.protein.assoc)
plotTraces(prottraces.wc[complex_id == 635], 'protein_id', 'complex_id',
           'Complex 635')

hafenr/MACode documentation built on May 17, 2019, 2:24 p.m.