output text files
macmanes opened this issue · comments
Matt MacManes commented
I see that the info is output in an unstructured way on the stout, but for those of us that would like to do some other types of viz, it would be nice to have the raw data.
Thanks, Matt
Matt Shirley commented
Absolutely. I was thinking I would have a JSON output. Would this be acceptable?
Matt MacManes commented
I think. Assuming there is a good json parser in R.
Matt Shirley commented
jsonlite is a very solid package: https://cran.r-project.org/web/packages/jsonlite/index.html
The reason I ask is that the output is somewhat structured already as:
sample id | observation | cycle | value |
---|
Which you should be able to parse in R using tidyr::spread
.