Description Usage Arguments Value Author(s)
Converts a named list representation of a graph into matrix
1 | list2Matrix(namedList, type="interaction")
|
namedList |
Named list. |
type |
Character: either interaction or complex |
A matrix. A bait-prey matrix if type is "interaction" with baits indexing the columns and prey the rows or a protein complex incidence graph with complexes indexing the columns and proteins, the rows.
If type is interaction, the names of the list are the baits and the entries of the list correspond the prey found by each bait.
If type is complex, the names of the list are the names of the protein complex and the entries are the members of each corresponding complex.
Tony Chiang <tchiang@ebi.ac.uk>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.