createMgsaGoSets: This functions takes a 1:1 mapping of go.ids to items and...

Description Usage Arguments

View source: R/MgsaGoSets-class.R

Description

This functions takes a 1:1 mapping of go.ids to items and returns a full MgsaGOSets instance. The structure of GO is gathered from GO.db. It is sufficient to specify just the directly asserted mapping (or annotation), i.e., the most specific ones. The true path rule is taken account, that is, if an item is annotated to a term then it will be also annotated to more general terms (some people prefer to say that just the transitive closure is calculated).

Usage

1
createMgsaGoSets(go.ids, items)

Arguments

go.ids

a character vector of GO ids (GO:00001234)

items

a vector of identifiers that are annotated to the term in the corresponding position of the go.ids vector.


mgsa documentation built on Nov. 8, 2020, 7:54 p.m.