You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running apply_and_annotate it would come in handy, if one could obtain the results as a pandas dataframe (like in pingouin). Right now I do this manually by doing something like (not a MRE, just to give you an intution!):
_, results=annotator.apply_and_annotate()
# extract results as data frameresults_pretty= []
forresultinresults:
group_1=result.data.group1group_2=result.data.group2stat_value=result.data.stat_valuepvalue=result.data.pvaluereceptor=group_1[0]
sig=result.textresults_pretty.append((receptor,stat_value,pvalue,sig))
results_pretty=pd.DataFrame(results_pretty,columns=['receptor','U','p','sig'])
The text was updated successfully, but these errors were encountered:
After running
apply_and_annotate
it would come in handy, if one could obtain the results as a pandas dataframe (like in pingouin). Right now I do this manually by doing something like (not a MRE, just to give you an intution!):The text was updated successfully, but these errors were encountered: