Learn R Programming

SAGx (version 1.46.0)

union.of.pways: 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

Value

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

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.

Examples

Run this code
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)

Run the code above in your browser using DataLab