add: Add a relationship

Description Usage Arguments Details Value Methods (by class) See Also

Description

Given a GeneSetCollection adds a relationship between a gene and a pathway.

Usage

1
2
3
4
5
add(object, gene, pathway)

## S4 method for signature 'GeneSetCollection,character,character'
add(object,
  gene = NULL, pathway = NULL)

Arguments

object

A GeneSetCollection

gene

A vector of character with genes.

pathway

A vector of character with pathways.

Details

It accepts one gene and one pathway, several genes and one pathway and several pathways and one gene, but not several pathways and several genes.

Value

A GeneSetCollection with those relationships added.

Methods (by class)

See Also

drop To just remove a gene or a pathways. modify To remove and add relationship at once.


llrs/GSEAdv documentation built on May 29, 2019, 6 p.m.