The data needed by the Anvi'o visualisations should not be created by NrdR.Rmd but by a separate script (in scripts/, e.g. scripts/nrdr_anvio.R). There are two consequences I'm not totally sure about:
I think we should call this script from the build process, i.e. make all in data. The output will hence be in data/. We should possibly have a subdirectory for this... Another option would be to have a different directory structures for analysis specific tables with make targets for the various analyses.
It's possible that the above script should be more general and do all the lifting that is now done in the Rmd to create the nrdrs and rnrs tables.
I started the Rmd parts of this in scripts/rnr_convenience_tables.R (called by all in data/Makefile) 3d7d49304ec51bfe2d4f5e49ea7dc82e245679ef. Only output as feather for now.
The data needed by the Anvi'o visualisations should not be created by
NrdR.Rmd
but by a separate script (inscripts/
, e.g.scripts/nrdr_anvio.R
). There are two consequences I'm not totally sure about:I think we should call this script from the build process, i.e.
make all
indata
. The output will hence be indata/
. We should possibly have a subdirectory for this... Another option would be to have a different directory structures for analysis specific tables with make targets for the various analyses.It's possible that the above script should be more general and do all the lifting that is now done in the Rmd to create the
nrdrs
andrnrs
tables.