This page documents the S4 generics and methods defined for objects inheriting of the GOSets
class.
The GOSets
class directly extends Sets
and thus inherits of all methods defined for the parent class.
In the usage below, object
represents an object of class inheriting from GOSets
,
and value
is an object of a class specified in the S4 method signature or as outlined in 'Accessors'.
# S4 method for GOSets evidence(object) # S4 method for GOSets evidence(object) <- value # S4 method for GOSets ontology(object) # S4 method for GOSets ontology(object) <- value
object | An object of class inheriting from |
---|---|
value | An object of a class specified in the S4 method signature or as outlined in 'Accessors'. |
evidence(object)
returns a factor indicating the evidence code for each relation.
ontology(object)
returns a factor indicating the ontology code for each relation.
# Constructor ---- # Fetch a sample of GO annotations library(org.Hs.eg.db) go_sets <- import(org.Hs.egGO)#>#>#>#> [1] TAS ND TAS IDA TAS TAS #> 26 Levels: EXP IDA IPI IMP IGI IEP HTP HDA HMP HGI HEP IBA IBD IKR IRD ... IEA#> [1] BP BP BP BP BP BP #> Levels: BP MF CC