Open alexg9010 opened 1 year ago
Some of the output tables of the pipeline contain fixed and flexible column names. Examples files from the test data would be (folder [tests/output]):
One location in the code where this format is created would be here: https://github.com/BIMSBbioinfo/pigx_sars-cov-2/blob/485f7df73caa7b4eb74b1f7ab63091f0a888249c/scripts/deconvolution.R#L490-L497
I would suggest converting these kinds of tables to long format, such that the table headers are static. Should a wider format be required for plotting, reporting, etc. I would suggest doing the temporary transformation directly there.
Some of the output tables of the pipeline contain fixed and flexible column names. Examples files from the test data would be (folder [tests/output]):
One location in the code where this format is created would be here: https://github.com/BIMSBbioinfo/pigx_sars-cov-2/blob/485f7df73caa7b4eb74b1f7ab63091f0a888249c/scripts/deconvolution.R#L490-L497
I would suggest converting these kinds of tables to long format, such that the table headers are static. Should a wider format be required for plotting, reporting, etc. I would suggest doing the temporary transformation directly there.