ALLCools.integration.cca

ALLCools.integration.cca

Module Contents

simple_cca(adata, group_col, n_components=50, random_state=0)[source]
incremental_cca(a, b, max_chunk_size=10000, random_state=0)[source]

Perform Incremental CCA by chunk dot product and IncrementalPCA

Parameters
  • a – dask.Array of dataset a

  • b – dask.Array of dataset b

  • max_chunk_size – Chunk size for Incremental fit and transform, the larger the better as long as MEM is enough

  • random_state

Returns

Return type

Top CCA components