scRL.GridCore.grids_from_embedding

scRL.GridCore.grids_from_embedding(X, n=50, j=3, n_jobs=8)[source]

Function for generating grids embedding Assuming that most of the two-dimensional embeddings of large scale single-cell data can represent the generation process and inherent dynamics of the data to some extent, a derivative grids representaion of the embedding therefore can provide us with a more simplified and comprehensive perspective of the data space.

Parameters:
  • X – A 2-D embedding space

  • n – The grids number for boundary generation (Default: 50)

  • j – The observer number for mask generation (Default: 3)

  • n_jobs – Number of cores to use (Default: 8)

Return type:

Grids results with mapped information