omicverse.pp.identify_robust_genes

omicverse.pp.identify_robust_genes#

omicverse.pp.identify_robust_genes(data, percent_cells=0.05)[源代码]#

Identify robust genes for downstream HVG selection.

参数:
  • data (anndata.AnnData) – AnnData object containing a gene expression matrix in .X. Genes with zero counts across all cells are removed.

  • percent_cells (float, default=0.05) – Minimum percentage of cells in which a gene must be detected to be marked as robust.

返回:

Updates data.var with n_cells, percent_cells, robust, and initializes highly_variable_features from robust.

返回类型:

None