anndict.wrappers.remove_genes_adata_dict#
- anndict.wrappers.remove_genes_adata_dict(adata, genes_to_remove, adt_key=None)[source]#
Remove specified genes from an
AnnData
object in-place.- Parameters:
- adata
AnnData
The
AnnData
object to modify.- genes_to_remove
list
[str
] A list of gene names to remove.
- adt_key
tuple
[str
,...
] |None
(default:None
) Used by
adata_dict_fapply()
andadata_dict_fapply_return()
when passing this function.
- adata
- Return type:
None
- Returns:
None
Notes
Modifies
adata
in-place.