causalpathlab/asapp

Check if the apply dim is correct

YPARK opened this issue · 1 comments

YPARK commented

x_sample = np.sort(dfct.apply(lambda x: np.random.choice(x), axis=1))

What we want:

  • For each gene g
    • Sample random sample index i
    • Take X[g,i]
YPARK commented

wrong issue