clean.gos {scde} | R Documentation

## Filter GOs list

### Description

Filter GOs list and append GO names when appropriate

### Usage

    clean.gos(go.env, min.size = 5, max.size = 5000, annot = FALSE)

### Arguments

`go.env` | GO or gene set list
`min.size` | Minimum size for number of genes in a gene set (default: 5)
`max.size` | Maximum size for number of genes in a gene set (default: 5000)
`annot` | Whether to append GO annotations for easier interpretation (default: FALSE)

### Value

a filtered GO list

### Examples

    # 10 sample GOs
    library(org.Hs.eg.db)
    go.env <- mget(ls(org.Hs.egGO2ALLEGS)[1:10], org.Hs.egGO2ALLEGS)
    # Filter this list and append names for easier interpretation
    go.env <- clean.gos(go.env)

[Package scde version 2.20.0 Index]