A function to generate the protein-protein interaction (ppi) induced (un)directed graph
This function will take the ppi data and generate instance of the class graph.
An adjacency matrix of PPI. If the matrix is obtained by empirical data, or bait to prey, then the rows are indexed by the baits and the columns indexed by the preys. If the rownames are not the same as the column names (i.e. a generic bait to prey matrix) the argument bp must be set to TRUE.
A logical - if TRUE, the object will be a directed graph rather than an ordinary graph. For bait to prey interactions, this parameter must always be set to TRUE.
A logical - if TRUE, it signifies that the adjacency matrix is a bait to prey empirically derived matrix so that the bait population (rownames) is usually different from the prey population (colnames).
An instance of the class graph.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.