Clone of the Bioconductor repository for the SingleCellExperiment package, see https://bioconductor.org/packages/devel/bioc/html/SingleCellExperiment.html for the official development version.
Setting to a character vector would specify which columns we wish to transplant from the main colData.
Furthermore, setting withColData=TRUE would cbind the main colData rather than replace the existing colData. This should have the same effect in most cases and will be more useful in the remaining cases where some colData exists.
In addition, we should support an equivalent option in the setters.
Setting withoutColData=FALSE does as it does now; direct replacement of the entire SE.
Setting withoutColData=TRUE removes all colData columns with the same names as those in the main colData.
Setting withoutColData= to a character vector will remove all named colData columns.
Each setting here directly reverses the effect of the corresponding setting in withColData=. The last two require some care to deal with the cases where there are duplicated names, but it mostly reverses the operation in the getter.
Setting to a character vector would specify which columns we wish to transplant from the main
colData
.Furthermore, setting
withColData=TRUE
wouldcbind
the maincolData
rather than replace the existingcolData
. This should have the same effect in most cases and will be more useful in the remaining cases where somecolData
exists.In addition, we should support an equivalent option in the setters.
withoutColData=FALSE
does as it does now; direct replacement of the entire SE.withoutColData=TRUE
removes allcolData
columns with the same names as those in the maincolData
.withoutColData=
to a character vector will remove all namedcolData
columns.Each setting here directly reverses the effect of the corresponding setting in
withColData=
. The last two require some care to deal with the cases where there are duplicated names, but it mostly reverses the operation in the getter.