# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# +
import numpy as np
from jive_jackstraw import JIVEJackstraw

datablock = np.loadtxt('tests/test_datablock.csv', delimiter=',')
cns = np.loadtxt('tests/test_cns.csv', delimiter=',')
# -

# There is a progress bar for each joint component that you're testing. This helps on really large AJIVE analyses.

js = JIVEJackstraw()
js.fit(datablock, cns, alpha=.01, bonferroni=True)

js.results[0]['significant']



StarcoderdataJupyterScriptsDedupFiltered