Skip to content
Prev 11703 / 21312 Next

[Bioc-devel] assay dimnames in SingleCellExperiment / SummarizedExperiment

Well, I guess it probably wouldn't be too bad to have "Feature" for the SingleCellExperiment "names(dimnames(...))[1]". The SCE inherits from an RSE anyway so we do imply that the rows represent some kind of genomic feature. Maybe this is too presumptive, but it doesn't seem to clash with any of  the current  applications of SCE. Of course, we could always just leave the first name empty, but I'm not sure whether this would cause Kevin's use cases to do funny things.


On another note, what is the easiest way to enforce dimnames names at the SCE level? Do I need to implement new methods for assay<- or assays<-, to overwrite the names(dimnames()) of incoming matrices? That seems like a pain. If the base SE is going to check/enforce consistent names of dimnames, perhaps this could be made into a method that SCE can specialize to coerce the names to something else.


-Aaron