snapatac2.tl.add_tf_binding#

snapatac2.tl.add_tf_binding(network, *, motifs, genome_fasta, pvalue=1e-05)[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.

  • pvalue (float) – P-value threshold for motif binding.