Open russelljjarvis opened 5 years ago
@russelljjarvis I don't know if __name
filtering (or any filtering) was every implemented for nedm
searches (i.e. for individual values taken from the literature. Also recall that if no results are found for one of the search restrictions, in some cases it just ignores that search restriction, which is obviously dumb but it hasn't risen to the top of anyone's list to fix it in NeuroElectro. Your safest bet is to do something like:
https://www.neuroelectro.org/api/1/nedm/?limit=999&n=18&e=2
Which should successfully return all 30 input resistance reports for Purkinje cells. You can check the output to make sure that the json for each entry in the returned list has ecm['e']['id']==2
and ncm['n']['id']==18
to make sure there are no bogus entries slipping in there due to API bugs.
Use 'R's diptest to test for bimodal. Update number of samples to reflect an entire number of experiments (possibly including multiple trials in the same organism).
Link to OSF: https://osf.io/97xuj/
Sometimes unimodalism seems justified, other times not.
Here are some interesting distributions that might violate unimodalism, relevant to the optimization work being done. I will upload to the OSF, with metadata.
The dip-test is better supported in R. I am moving this code to the test directory, as I think stat-data-model tests, need to be included as tests if data driven optimization needs to be done. I also think that these distributions should be stored in a variable, that moves through the optimization pipeline, and gives context to solution quality.