rgsets {hypeR} | R Documentation

## Relational genesets

### Description

Relational genesets

### Usage

    rgsets

### Format

An object of class `R6ClassGenerator` of length 24.

### Arguments

gsets

  A list of genesets where list names refers to geneset labels and values are geneset members represented as a vector

nodes

  A data frame of labeled nodes e.g.

  | label
  G1 | Geneset 1 |
  G2 | Geneset 2 |
  G3 | Geneset 3 |

edges

  A data frame of directed edges

  from | to
  G1 | G2 |
  G1 | G3 |

### Methods

`print(rgsets)` shows some information about the object data

`rgsets$subset(labels)` returns an rgsets object subsetted on geneset labels

### See Also

`pvector`

### Examples

    testdat <- readRDS(file.path(system.file("extdata", package="hypeR"), "testdat.rds"))
    rgsets <- rgsets$new(gsets=testdat$gsets,
                         nodes=testdat$nodes,
                         edges=testdat$edges)

[Package hypeR version 1.3.0 Index]