
data(SCOP.fa)
InfoDataFrame
. It has slots for data
and dimLabels:
data
: a data.frame containing information about 2223
domains (in rows), with 3 columns ("id" for SCOP sunid, and "level" for
SCOP level, "description" for SCOP description)dimLabels
: a character describing labels for rows and
columns in dataInfoDataFrame-class
# load data
data(SCOP.fa)
SCOP.fa
# retrieve the dimension
dim(SCOP.fa)
# retrieve names of columns
colNames(SCOP.fa)
# retrieve the first 5 rows of data
Data(SCOP.fa)[1:5,]
Run the code above in your browser using DataLab