selDB: Select db for GO

Description Usage Arguments Details Value Examples

View source: R/GOconst.R

Description

Initate gset class by making use of gene sets from package msgidb

Usage

1
2
3
selDB(major = c("C2.CP", "C3.MIR", "C3.TFT", "C5.BP", "C5.CC"),
  minor = NA, type = c("symbols", "entrez"),
  species = c("human", "mouse"))

Arguments

major

the major category.

minor

a character string to subset gene categories with matched names through grep. Set NA to ignore.

type

either symbols or entrez.

species

either human or mouse.

Details

For details about the gene sets, please see package msgidb.

Value

A gset object.

Examples

1
gset.obj <- selDB(major="C2.CP", minor="Reactome", type="symbols", species="mouse")

ericaenjoy3/GOplot documentation built on May 6, 2019, 9:50 p.m.