displayComponent: Select an Component to Display

Description Usage Arguments Details Value References Examples

View source: R/displayComponent.R

Description

displayComponent given an index, display that component in the list of component

Usage

1
displayComponent(proteinPeptideGraph, displayingComponent)

Arguments

proteinPeptideGraph

the return from generateBipartiteGraph, a graph object, containing all peptides and protein in the idXML given

displayingComponent

an integer representing the index of the component that the user want to display

Details

It take the return of generateBipartiteGraph and an integer, and decompose the graph and uses indexing to select the graph object to display. What is display is a weakly connected component of the overall graph, the biological meaning is that only these vertices are relevant to the inference of any protein in this component.

Value

it returns the component that is displayed

References

Csardi G, Nepusz T (2006). The igraph software package for complex network research. InterJournal, Complex Systems, 1695. https://igraph.org.

Examples

1
2
wholeGraph <- generateBipartiteGraph(allEdges)
displayComponent(wholeGraph, 1)

kairenchen721/interpretproteinidentification documentation built on Dec. 21, 2021, 5:15 a.m.