clean.gos: Filter GOs list

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Filter GOs list and append GO names when appropriate

Usage

1
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

1
2
3
4
5
# 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)

scde documentation built on Nov. 8, 2020, 6:19 p.m.