adjacency_matrix_from_list {PrInCE} | R Documentation

## Create an adjacency matrix from a list of complexes

### Description

Convert a list of complexes into a pairwise adjacency matrix. The resulting square adjacency matrix contains ones for proteins that are found in the same complex and zeroes otherwise.

### Usage

    adjacency_matrix_from_list(complexes)

### Arguments

`complexes` | a list of complexes, with each entry containing complex subunits as a character vector

### Value

an adjacency matrix between all complex subunits

### Examples

    data(gold_standard)
    adj <- adjacency_matrix_from_list(gold_standard)

[Package PrInCE version 1.10.0 Index]