An object of class "Anno" that contains associations between Gene Ontology Molecular Function terms and Pfam domains. This data is prepared based on the Pfam database (see http://pfam.xfam.org) and ftp://ftp.geneontology.org/pub/go/external2go/pfam2go.
data(Pfam2GOMF)
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 Pfam accession ID, and "level" always
equals "Pfam", "description" for Pfam description
Finn et al. (2014) The Pfam protein families database. Nucleic Acids Res, 42(Database issue):D222-D230.
# load data data(Pfam2GOMF) Pfam2GOMFAn object of S4 class 'Anno' @annoData: 3359 domains, 1065 terms @termData (InfoDataFrame) termNames: GO:0003824 GO:0004872 GO:0005198 ... GO:0016286 GO:0005219 (1065 total) tvarLabels: ID Name Namespace Distance @domainData (InfoDataFrame) domainNames: PF00001 PF00002 PF00003 ... PF15510 PF15549 (3359 total) dvarLabels: id level description# retrieve info on ontology terms termData(Pfam2GOMF)An object of S4 class 'InfoDataFrame' rowNames: GO:0003824 GO:0004872 GO:0005198 ... GO:0016286 GO:0005219 (1065 total) colNames: ID Name Namespace Distance# retrieve info on Pfam domains domainData(Pfam2GOMF)An object of S4 class 'InfoDataFrame' rowNames: PF00001 PF00002 PF00003 ... PF15510 PF15549 (3359 total) colNames: id level description# retrieve the first 5 rows and columns of annotation data x <- annoData(Pfam2GOMF)[1:5,1:5] x5 x 5 sparse Matrix of class "dgCMatrix" GO:0005126 GO:0005129 GO:0004348 GO:0000334 GO:0004352 PF00001 . . . . . PF00002 . . . . . PF00003 . . . . . PF00004 . . . . . PF00005 . . . . .# convert the above retrieval to the full matrix as.matrix(x)GO:0005126 GO:0005129 GO:0004348 GO:0000334 GO:0004352 PF00001 0 0 0 0 0 PF00002 0 0 0 0 0 PF00003 0 0 0 0 0 PF00004 0 0 0 0 0 PF00005 0 0 0 0 0
Anno-class