decoupler.get_ora_df
- decoupler.get_ora_df(df, net, source='source', target='target', n_background=20000, verbose=False)
Wrapper to run ORA for results of differential analysis (long format dataframe).
- Parameters:
- dfDataFrame, list, ndarray
Long format DataFrame with significant features to be tested as indexes, or a list/ndarray with significant features.
- netDataFrame
Network in long format.
- sourcestr
Column name in net with source nodes.
- targetstr
Column name in net with target nodes.
- n_backgroundint
Integer indicating the background size. If not specified the background is the targets of
net
.- verbosebool
Whether to show progress.
- Returns:
- resultsDataFrame
Results of ORA.