omicverse.pp.highly_variable_genes

omicverse.pp.highly_variable_genes(adata, **kwargs)[source]

Run HVG detection and write flags/statistics into adata.var.

Parameters:
  • adata (anndata.AnnData) – AnnData object with expression matrix and optional layers.

  • **kwargs – Keyword arguments forwarded to omicverse.pp._highly_variable_genes. Typical options include flavor, n_top_genes, layer and batch_key.

Returns:

Returns the wrapped HVG function result while mutating adata.var.

Return type:

Any