modify: Modify a relationship

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

Description

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

Usage

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

## S4 method for signature 'GeneSetCollection,character,character'
modify(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 flipped.

Methods (by class)

See Also

drop To just remove a gene or a pathways add To just add a relationship.

Examples

1
2
3
modify(Info, "Gene2", "156580")
modify(Info, c("Gene2", "Gene3"), "156580")
modify(Info, "Gene2", c("156580", "211859"))

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