list_to_table: Convert list of vectors to bipartate graph format.

Description Usage Arguments Value

View source: R/pathway_functions.R

Description

Used to restructure list of vectors to bipartate graph format.

Usage

1
list_to_table(pth, uni = NULL)

Arguments

pth

A list object, with each slot containing a vector.

uni

The full, unique set of elements in all the vectors in the list passed in the argument, pth. If not provided this will be automatically recalculated.

Value

matrix object with logical values representing a bipartate graph; rows are set as the slot names of the input list. Columns are set as all the unique elements in the vectors the list contains.


biodev/packageDir documentation built on Nov. 4, 2019, 7:19 a.m.