# load data
data(SCOP.fa2DO)
SCOP.fa2DO
# retrieve info on ontology terms
termData(SCOP.fa2DO)
# retrieve info on SCOP domains
domainData(SCOP.fa2DO)
# retrieve the first 5 rows and columns of annotation data
x <- annoData(SCOP.fa2DO)[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