scglue.data.calc_hypo_score

scglue.data.calc_hypo_score(adata, mc_layer='mc', cov_layer='cov', chunk_size=1000)[source]

Calculates the hypo-methylation score as X based on methylated counts and total coverage stored in separate layers

Parameters:
  • adata (AnnData) – Input AnnData object

  • mc_layer (str) – Layer storing methylated counts

  • cov_layer (str) – Layer storing total coverage

  • chunk_size (int) – Number of cells to include per chunk

Return type:

None