scphylo.datasets.simulate#

scphylo.datasets.simulate(n_cells=10, n_muts=10, n_clones=3, alpha=1e-05, beta=0.1, missing=0)[source]#

Simulate single-cell noisy genotype matrix.

This function is using [OncoNEM].

Parameters
  • n_cells (int, optional) – Number of cells, by default 10

  • n_muts (int, optional) – Number of mutations, by default 10

  • n_clones (int, optional) – Number of clones, by default 3

  • alpha (float, optional) – False positive rate, by default 0.00001

  • beta (float, optional) – False negative rate, by default 0.1

  • missing (int, optional) – Missing entry rate, by default 0

Returns

A genotype matrix where 0 is absent, 1 is present and 3 is missing.

Return type

pandas.DataFrame