-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-experiment studies #5
Comments
Yes, good question, thanks for your comments. As I noted in #4, it would be great to have an actual example of someone making a good attempt at this. Maybe it could be your next publication? :) Or one you've already got out? There are no hard-and-fast rules (yet), what we're doing here is mostly just looking to see how people are already solving these problems for their own research in ways that can be generalised to be useful and practical for many other researchers (rather than trying to be too prescriptive and disconnected from the norms of practice) |
I agree that this proposal shouldn't be too prescriptive. However, if I understand correctly, one goal is to be compatible with R's package structure (so that compendia can be installed like ordinary R-packages). Doesn't that mean that we inherit many of the conventions described in (the notorious) "Writing R extensions"? Having one directory for each experiment makes sense in the project that I'm currently working on, but it would not conform with R's package structure which requires that data is stored in the top-level |
That's a good question, one relevant factor is if you goal is to have the package on CRAN on not. For me, I don't think I'll ever submit any of my research compendia packages to CRAN, so I don't feel too bound to the manual. I'm happy with the minimum to allow the package to build and don't mind some warnings and notes. Others may have different standards and goals for their compendia, and I'm keen to see what standards emerge in others' work. Regarding multi-experiments, I might organise my compendium something like this:
But that might not make sense for your project, I don't know. I'd be curious to know what structure you use for your multi-experiment project. Would you mind to post it here when you've done it? To include things like experimental materials (cf #4), you could either put them in a directory in |
My study is in progress and unfortunately I can't share the package at this stage. The structure is the following:
At the top level we have:
Within
The other experiment directories are similar. That’s what I have so far. Work in progress. What I like very much about this approach is that the directory structure reflects the structure of the study. That would not be the case if I would adopt the R-package approach. |
Titus, My major objection to this approach, which for me is a deal breaker, is What should data(stimuli) do if your analysis package is loaded? Where A naming scheme within the data/ directory is much more reasonable from a Speaking of such extensions though, I do think it might be reasonable to Best, On Wed, Jun 3, 2015 at 8:49 PM, Titus von der Malsburg <
Gabriel Becker, PhD |
@gmbecker, I'm fully aware that |
If a study consists of multiple experiments, how should the data and materials be structured? The most natural way would be to have a directory for each experiment but that goes counter the approach proposed here. But if the files for each experiment are scattered across the various directories (
data
,R
,analysis
, ...), it might make sense to have some sort of naming convention, e.g:data/experiment1_results.dat
data/experiment2_results.dat
analysis/experiment1_analysis.R
analysis/experiment2_analysis.R
The text was updated successfully, but these errors were encountered: