get lmFit for heterogeneity across subclusters

getSubclLM(inlist, clname)

Arguments

inlist

list of SingleCellExperiments (SCEs) formed by scran::quickSubCluster

clname

character(1) name of cluster SCE to assess

Value

limma::lmFit output

Note

It is assumed that 'logcounts' is an assay element, and that 'subcluster' is a colData element of each SCE in inlist

Examples

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"