size {SeqGSEA} | R Documentation

## Number of gene sets in a SeqGeneSet object

### Description

This function to get the number of gene sets in a SeqGeneSet object.

### Usage

    size(GS)

### Arguments

`GS` | an object of class SeqGeneSet.

### Details

Gene sets with size less than `GSSizeMin` or more than `GSSizeMax` are not included.

### Value

The number of gene sets in this SeqGeneSet object.

### Author(s)

Xi Wang, xi.wang@newcastle.edu.au

### See Also

`SeqGeneSet-class`, `loadGenesets`

### Examples

    data(GS_example, package="SeqGSEA")
    size(GS_example)

[Package SeqGSEA version 1.27.0 Index]