decoupler.format_contrast_results

decoupler.format_contrast_results(logFCs, pvals)

Formats the results from get_contrast into a long format data-frame.

logFCsDataFrame

Dataframe of logFCs (contrasts x features).

pvalsDataFrame

Dataframe of p-values (contrasts x features).

Returns
dfDataFrame

DataFrame in long format.