annotate ribo

Annotate ribosomal genes with an optional key to group by observations. Optionally remove cells that contain a high percentage of ribosomal genes as these are likely low quality samples.

Parameters

color_key: str Group the ribosomal gene annotations by this value.


max_pct_counts_ribo: int Maximum percentage of ribosomal genes to other genes. If a cell contains a ribosomal gene percentage greater than this value, it will be removed.


Web view

annotate_ribo_screenshot annotate_ribo_screenshot

Python equivalent

import scanpy as sc