seismicrna.cluster.tests package

Submodules

class seismicrna.cluster.tests.compare_test.TestAssignClusterings(methodName='runTest')

Bases: TestCase

test_0_clusters()
test_0_positions()
test_1_cluster()
test_more_clusters()
class seismicrna.cluster.tests.em_test.TestExpectation(methodName='runTest')

Bases: TestCase

compare(p_mut: ndarray, p_ends: ndarray, p_clust: ndarray, end5s: ndarray, end3s: ndarray, unmasked: ndarray, muts_per_pos: list[ndarray], min_mut_gap: int, expect_log_marginals: ndarray, expect_memberships: ndarray)
test_1pos()
test_1pos_2clusters()
test_2pos_gap0()
test_2pos_gap0_2clusters()
test_2pos_gap1()
test_2pos_masked0()
test_2pos_masked1()