Open vjcitn opened 4 years ago
Sounds reasonable. So to be precise, colData(se) <- DF
:
colnames(se)
and rownames(DF)
are not NULL and not identical.se
if rownames(DF)
is NULL.se
(to rownames(DF)
) if colnames(se)
is NULL.The only worry is backward compatibility. This change together with the change discussed in issue #35 are likely to break existing code in various places. Hopefully it won't be too bad.
The content of the sample denoted
a
in the assay has changed through colData assignment. This seems incompatible within SummarizedExperiment-class.Rd. I propose that we tighten the "or consistent with" with "identical to" and throw an error in the code if that condition does not hold.