- Follow Bioconductor S4 practices. If you have used
new()
to createColumnLinkedMatrix
andRowLinkedMatrix
instances, please use theColumnLinkedMatrix()
andRowLinkedMatrix()
constructor functions instead. - Drop defunct
cbind.RowLinkedMatrix
andrbind.ColumnLinkedMatrix
methods. - Update citation instructions.
- Use
inherits(., *)
instead ofclass(.) == *
(R4 compat). - Use tinytest instead of testthat.
- Fix
rownames()
(forRowLinkedMatrix
) orcolnames()
(forColumnLinkedMatrix
) returningNULL
if first node does not have dimnames, but other nodes do. Missing entries will be denoted empty string, just like in basedimnames()
. - Do not exclude NULL when checking if rownames (for
ColumnLinkedMatrix
) or colnames (forRowLinkedMatrix
) do not match.
- Add crochet subsetting and replacement support.
- Add generic
as.ColumnLinkedMatrix
andas.RowLinkedMatrix
for easy creation ofLinkedMatrix
objects fromlist
s of matrix-like objects withoutdo.call
. - Warn if rownames (for
ColumnLinkedMatrix
) or colnames (forRowLinkedMatrix
) do not match. - Implement
str
method. - Implement
is.matrix
method. - Slight performance improvements in
nodes
methods. - New
sort
parameter inindex()
which is set by default. - Add examples.
- Fix wrong order in result when subsetting using unordered positive integers.
- Add
i
andj
parameters inindex
to only generate entries for those indexes. - Various subsetting optimizations.
- Add
LinkedMatrix
constructor that creates either aColumnLinkedMatrix
orRowLinkedMatrix
(controlled bylinkedBy
) of certain dimensions and of certain type. - Add
rbind
forRowLinkedMatrix
andcbind
forColumnLinkedMatrix
. - Remove
apply
and derivative functions to keep the package minimal. - Change
length
method to behave similarly tolength
for matrices. - Export
nNodes
function to get the number of nodes. - Only allow matrix-like objects with matching row or column dimensions (same
number of rows in case of
ColumnLinkedMatrix
and same number of columns in case ofRowLinkedMatrix
) when creating linked matrices.
Initial release.