def test_cluster_corr(): c1 = ClusterFeature('chr1', 1, 2, range(5)) assert c1.is_correlated(c1) c2 = ClusterFeature('chr1', 1, 2, [-x for x in range(5)]) assert not c1.is_correlated(c2)
def test_cluster_corr(): c1 = ClusterFeature("chr1", 1, 2, range(5)) assert c1.is_correlated(c1) c2 = ClusterFeature("chr1", 1, 2, [-x for x in range(5)]) assert not c1.is_correlated(c2)