union.of.pways {SAGx}R Documentation

Create the union of two pathway lists

Description

This function takes two lists where each component is a vector of probe sets ids and create a new such list that contains all probe sets and pathways from the two lists.

Usage

union.of.pways(x,y)

Arguments

x the first list
y the second list

Details

The function merge.list in package RCurl forms a basis for this function which adds the ability to add new probe sets to existing pathways.

Value

A list which is the union of the two input lists.

Note

Experimental function. Feedback appreciated.

Author(s)

Per Broberg

Examples

X = list(a=c(1,2),c=c(1,2));Y = list(a=c(3,4),d=c(12,2))
union.of.pways(X,Y)

[Package SAGx version 1.12.0 Index]