# load data
data(Pfam2GOCC)
Pfam2GOCC
# retrieve info on ontology terms
termData(Pfam2GOCC)
# retrieve info on Pfam domains
domainData(Pfam2GOCC)
# retrieve the first 5 rows and columns of annotation data
x <- annoData(Pfam2GOCC)[1:5,1:5]
x
# convert the above retrieval to the full matrix
as.matrix(x)
Run the code above in your browser using DataLab