XDataFrameList-class {IRanges} | R Documentation |
Represents a list of XDataFrame
objects.
The SplitXDataFrameList
class contains the additional restriction
that all the columns be of the same name and type. Internally it is stored
as a list of XDataFrame
objects and extends
TypedList
.
In the following code snippets, x
is a XDataFrameList
.
dim(x)
: Get the two element integer vector indicating
the number of rows and columns over the entire dataset.dimnames(x)
: Get the list of two character vectors,
the first holding the rownames (possibly NULL
) and the second
the column names.
XDataFrameList(...)
: Concatenates the XDataFrame
objects in ...
into a new XDataFrameList
.SplitXDataFrameList(...)
: Concatenates the
XDataFrame
objects in ...
into a new
SplitXDataFrameList
. Note that all arguments must have the same
number and names of columns.
In the following code snippets, x
is a SplitXDataFrameList
.
as(from, "XDataFrame")
: Coerces a
XDataFrameList
to an XDataFrame
by combining the
rows of the elements. This essentially unsplits the XDataFrame
.
as.data.frame(x, row.names=NULL, optional=FALSE, ...)
:
Unsplits the XDataFrame
and coerces it to a
data.frame
, with the rownames specified in
row.names
. The optional
argument is ignored.
The RangedData
drove the development of these
classes. It is not clear if they are of general use and might disappear.
Michael Lawrence
XDataFrame
, RangedData
,
which uses a XDataFrameList
to split the data by the spaces.