hatvis.motifs.motif_zscores#
- hatvis.motifs.motif_zscores(H, counter=<function h_motifs>, n_samples=20, null='configuration', random_state=None)[source]#
Compare motif counts with a null model.
null="configuration"uses degree- and size-preserving reshuffles (hatvis.models.configuration_model()),"random"keeps only the size sequence. Returns observed counts, null mean and standard deviation, the z-score and the normalized significance profile \(z_k/\|\mathbf{z}\|\) (Milo et al. 2004).