mark_var
Identify genes meeting specific conditions (e.g., mitochondrion, ribosomal, hemoglobin) and store results as boolean values in adata.var for quality control metrics calculation.
Instructions
Determine if each gene meets specific conditions and store results in adata.var as boolean values.for example: mitochondrion genes startswith MT-.the tool should be call first when calculate quality control metrics for mitochondrion, ribosomal, harhemoglobin genes. or other qc_vars
Input Schema
Name | Required | Description | Default |
---|---|---|---|
gene_class | No | Gene class type (Mitochondrion/Ribosomal/Hemoglobin) | |
pattern_type | No | Pattern matching type (startswith/endswith/contains), it should be None when gene_class is not None | |
patterns | No | gene pattern to match, must be a string, it should be None when gene_class is not None | |
var_name | No | Column name that will be added to adata.var, do not set if user does not ask |