netmap.utils.tf_utils.filter_tf_names

netmap.utils.tf_utils.filter_tf_names(tf_genes: list, adata: AnnData, tfs_only=True)

Filter the transcription factor list using an anndata object

Args: tf_genes: list of transcription factors adata: anndata.AnnData object tfs_only: Boolean indicating whether to return transcription factors, or

the full intersection of the adata.var.index and the tf_list