get lmFit F-stat based collection of n genes most varying in mean across subclusters

getSubclusteringFeatures(inlist, clname, n = 20)

Arguments

inlist

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

clname

character(1) name of cluster SCE to assess

n

numeric(1) number to preserve

Value

list with two elements, feat = rowData corresponding to variable genes, stats = topTable result

Note

Symbol will be taken from feat and placed in stats component if available

Examples

all.sce <- getCh12AllSce()
scl <- getSubclusteringFeatures(all.sce, "3", 10)
names(scl)
#> [1] "feat"  "stats"