Construct a DSArray from a 3-dimensional array, a matrix, or a list of matrix objects with identical dimensions.
1 2 3 4 5 6 7 8 9 10 11 12 13
A 3-dimensional array, a list of matrix objects with identical dimensions, or a matrix.
Further arguments passed to other methods
A dimnames attribute for the DSArray: NULL or
a list of length 3. An empty list is treated as
An integer given the dimension number that indexes samples;
see Examples. The default,
The difference between calling
DSArray() without any arguments
new("DSArray") is like the difference between calling
array() and calling
new("array"); using the explicit
constructor is to be preferred.
A DSArray object.
dimnames argument to the
DSArray constructor is
NULL then the dimnames of the returned DSArray object are constructed
x is an array: use
for slicenames, and
dimnames(x)[-MARGIN] as rownames and colnames of
the returned object, respectively.
x is a list of matrix objects
with identical dimensions: rownames of the returned object are the rownames
of the first element
x with non-
NULL rownames; colnames of
the returned object are taken from
names(x); slicenames of the
returned object are the colnames of first element of
x is a matrix: use
the rownames and
colnames(x) for the slicenames of the returned
object, respectively. The colnames of the returned object are
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.