get lmFit for heterogeneity across subclusters
getSubclLM(inlist, clname)
list of SingleCellExperiments (SCEs) formed by scran::quickSubCluster
character(1) name of cluster SCE to assess
limma::lmFit output
It is assumed that 'logcounts' is an assay element, and that 'subcluster' is a colData element of each SCE in inlist
all.sce <- getCh12AllSce()
lm3 <- getSubclLM(all.sce, "3")
names(lm3)
#> [1] "coefficients" "rank" "assign" "qr"
#> [5] "df.residual" "sigma" "cov.coefficients" "stdev.unscaled"
#> [9] "pivot" "Amean" "method" "design"