This function creates a symDMatrix
from a numeric matrix that is
assumed to be symmetric.
# S3 method for matrix
as.symDMatrix(x, blockSize = 5000L, vmode = "double",
folderOut = randomString(), ...)
A symmetric numeric matrix.
The number of rows and columns of each block. If NULL
, a single
block of the same dimensions as x
will be created. Defaults to
5000.
The vmode used to store the data in the ff
objects.
A name for a folder where to store the data of the resulting
symDMatrix
object.
Additional arguments (currently unused).
A symDMatrix
object.
The input matrix is broken into blocks and each block is stored as an
ff_matrix
object. In addition, a metadata object called
symDMatrix.RData
is created to allow for easy reloading of the
symDMatrix
object.
load.symDMatrix
to reload the symDMatrix
object.