multivelo.calculate_qc_metrics

multivelo.calculate_qc_metrics(adata, **kwargs)

Basic QC metrics.

This function calculate basic QC metrics with scanpy.pp.calculate_qc_metrics. Additionally, total counts and the ratio of unspliced and spliced matrices, as well as the cell cycle scores (with scvelo.tl.score_genes_cell_cycle) will be computed.

Parameters:
  • adata (AnnData) – RNA anndata object. Required fields: unspliced and spliced.

  • scanpy.pp.calculate_qc_metrics. (Additional parameters passed to)

Returns:

  • Outputs of scanpy.pp.calculate_qc_metrics and

  • `scvelo.tl.score_genes_cell_cycle`. total_unspliced, total_spliced (.var) – total counts of unspliced and spliced matrices.

  • unspliced_ratio (.var) – ratio of unspliced counts vs (unspliced + spliced counts).

  • cell_cycle_score (.var) – cell cycle score difference between G2M_score and S_score.