Description Usage Arguments Value Examples
View source: R/dataVisualization.R
Plot traces for a single complex or protein.
1 2 | plotTraces(traces.dt, subunit.id.col, parent.id.col, title = "", plot = T,
log = F)
|
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. |
The ggplot plot object
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')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.