spacipy.Gem.stat

Gem.stat(genes=None, batch=None, bycell=False, outfile=None)

Compute some basic statistic for the object

Parameters:
  • genes (str, list) – Also consider certain genes for computing beside by default total statistic.

  • batch (str) – column name for Batch information if contain

  • bycell (bool, defaul False) – statistic at cell level other than at spot level

  • outfile (str) – save the results