An object of class "Anno" that contains associations between Gene Ontology Molecular Function terms and InterPro domains. This data is prepared based on the InterPro database (see http://www.ebi.ac.uk/interpro/) and ftp://anonymous@ftp.ebi.ac.uk/pub/databases/interpro/Current/interpro2go.
data(InterPro2GOMF)
an object of class Anno
. It has slots for "annoData",
"termData" and "domainData":
annoData
: a sparse matrix of domains X terms
termData
: variables describing ontology terms (i.e.
columns in annoData), including: "ID" (i.e. term ID), "Name" (i.e. term
Names), "Namespace" (i.e. term Namespace), and "Distance" (i.e. term
Distance to the ontology root)
domainData
: variables describing domains (i.e. rows in
annoData), including: "id" for InterPro ID, and "level" always equals
"InterPro", "description" for InterPro description
Hunter et al. (2012) Manual GO annotation of predictive protein signatures: the InterPro approach to GO curation. Database (Oxford), 2012:bar068.
# load data data(InterPro2GOMF) InterPro2GOMFAn object of S4 class 'Anno' @annoData: 8899 domains, 2219 terms @termData (InfoDataFrame) termNames: GO:0001071 GO:0003824 GO:0004872 ... GO:0015467 GO:0072345 (2219 total) tvarLabels: ID Name Namespace Distance @domainData (InfoDataFrame) domainNames: IPR000003 IPR000006 IPR000008 ... IPR029784 IPR029785 (8899 total) dvarLabels: id level description# retrieve info on ontology terms termData(InterPro2GOMF)An object of S4 class 'InfoDataFrame' rowNames: GO:0001071 GO:0003824 GO:0004872 ... GO:0015467 GO:0072345 (2219 total) colNames: ID Name Namespace Distance# retrieve info on InterPro domains domainData(InterPro2GOMF)An object of S4 class 'InfoDataFrame' rowNames: IPR000003 IPR000006 IPR000008 ... IPR029784 IPR029785 (8899 total) colNames: id level description# retrieve the first 5 rows and columns of annotation data x <- annoData(InterPro2GOMF)[1:5,1:5] x5 x 5 sparse Matrix of class "dgCMatrix" GO:0004854 GO:0003730 GO:0004855 GO:0004176 GO:0004177 IPR000003 . . . . . IPR000006 . . . . . IPR000008 . . . . . IPR000009 . . . . . IPR000010 . . . . .# convert the above retrieval to the full matrix as.matrix(x)GO:0004854 GO:0003730 GO:0004855 GO:0004176 GO:0004177 IPR000003 0 0 0 0 0 IPR000006 0 0 0 0 0 IPR000008 0 0 0 0 0 IPR000009 0 0 0 0 0 IPR000010 0 0 0 0 0
Anno-class