snapatac2.tl.add_tf_binding#

snapatac2.tl.add_tf_binding(network, motifs, genome_fasta)[source]#

Add TF motif binding information.

Parameters
  • network (PyDiGraph) – Network

  • motifs (list[PyDNAMotif]) – TF motifs

  • genome_fasta (Path | Genome) – A fasta file containing the genome sequences or a Genome object.