adjacency_matrix_from_list: Create an adjacency matrix from a list of complexes

Description Usage Arguments Value Examples

View source: R/adjacency_matrix_from_list.R

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

1

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

1
2

fosterlab/PrInCE-R documentation built on Dec. 11, 2020, 3:51 p.m.