optimalBinSize.Rd
Identify optimal bin size for AddModuleScore() function
optimalBinSize(object, pool = NULL, nbin = 24, seed = 1023, verbose = T)
Seurat object
List of features to check expression levels against. Defaults to rownames(x = object).
See a random seed. If NULL, seed is not set.
of bins of aggregate expression levels for all analyzed features. Initial value to begin with looking for optimal bin.
optimal.nbin <- optimalBinSize(object = so.query)
#> Error in GetAssayData(object = object): object 'so.query' not found