Open bw2 opened 5 months ago
This would be the way to do it, by passing arrays of only 1 value for a,b,c and d:
import numpy as np
from faster_fishers import exact
lefts, right, two_tails = exact(np.array([10], dtype=np.uint64), np.array([5], dtype=np.uint64), np.array([3], dtype=np.uint64), np.array([4], dtype=np.uint64))
I'm having trouble understanding how to use the python interface.
What would be the equivalent code to
?