Is there a way to conduct a Kruskal Wallis test or Mann Whitney U on Galaxy Main?
Thank you for your help.
Your best bet is the jupyter interactive environment. With the python kernel you can:
from scipy.stats import mannwhitneyu
and then use the mannwhitneyu() function.
Thank you for you reply, I have been doing that thus far. Although I am not that experienced in python, but is it possible to create a loop that could read certain datasets from the history and carry out testing in that manner ?
Certainly! If you post the first few lines of such a dataset I'll show you the appropriate code.
Help via Interactive Environments and Devon, how awesome is this!
Something like this should work:
datasets = [2,3,4,5,6] # the dataset numbers of your history
for data in datasets:
data = get(data)
for row in open(data):
columns = row.split()
print( mannwhitneyu( columns ) ) # here you need to access the columns you want to use
This is perfect, thank you so much !