zdebruine / singlet

Single-cell analysis with non-negative matrix factorization
42 stars 13 forks source link

added a few more convenience methods for nmf objects #16

Closed ttriche closed 2 years ago

ttriche commented 2 years ago

specifically, $ (e.g. fit$foo is fit@misc$covs$foo) and $<- (e.g. fit$foo <- "bar" sets fit@misc$covs$foo to "bar")

[ is handy too; [i, j] will grab @w[,i], @d[i], and @h[, j] along with corresponding @misc$covs[j, ]

To a first approximation, make an nmf object behave a little like a SummarizedExperiment.

zdebruine commented 2 years ago

Do you have any interest in creating an SCE wrapper?