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