An object of class "Anno" that contains associations between Gene Ontology Cellular Component terms and SCOP domain superfamilies (sf). This data is prepared based on the dcGO database (see http://supfam.org/SUPERFAMILY/dcGO/).
data(SCOP.sf2GOCC)
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 SCOP sunid, and "level" for SCOP level,
"description" for SCOP description
Fang H and Gough J. (2013) dcGO: database of domain-centric ontologies on functions, phenotypes, diseases and more. Nucleic Acids Res, 41(Database issue):D536-44.
# load data data(SCOP.sf2GOCC) SCOP.sf2GOCCAn object of S4 class 'Anno' @annoData: 948 domains, 1073 terms @termData (InfoDataFrame) termNames: GO:0005575 GO:0005576 GO:0005623 ... GO:0071339 GO:0032777 (1073 total) tvarLabels: ID Name Namespace Distance @domainData (InfoDataFrame) domainNames: 46458 46548 46561 ... 161111 161256 (948 total) dvarLabels: id level description# retrieve info on ontology terms termData(SCOP.sf2GOCC)An object of S4 class 'InfoDataFrame' rowNames: GO:0005575 GO:0005576 GO:0005623 ... GO:0071339 GO:0032777 (1073 total) colNames: ID Name Namespace Distance# retrieve info on SCOP domains domainData(SCOP.sf2GOCC)An object of S4 class 'InfoDataFrame' rowNames: 46458 46548 46561 ... 161111 161256 (948 total) colNames: id level description# retrieve the first 5 rows and columns of annotation data x <- annoData(SCOP.sf2GOCC)[1:5,1:5] x5 x 5 sparse Matrix of class "dgCMatrix" GO:0000785 GO:0044446 GO:0044447 GO:0000786 GO:0071556 46458 . . . . . 46548 . 1 . . . 46561 . 1 . . . 46565 . 1 . . . 46579 . 1 . . .# convert the above retrieval to the full matrix as.matrix(x)GO:0000785 GO:0044446 GO:0044447 GO:0000786 GO:0071556 46458 0 0 0 0 0 46548 0 1 0 0 0 46561 0 1 0 0 0 46565 0 1 0 0 0 46579 0 1 0 0 0
Anno-class