nf-osi / nfportalutils

Utilities for NF Portal project and data management
https://nf-osi.github.io/nfportalutils/
MIT License
2 stars 2 forks source link

Patch/schematic api #156

Closed anngvu closed 9 months ago

anngvu commented 9 months ago

One of of the two endpoints we wrap (manifest_generate) needs to be updated with schematic changes announced this morning, so if you are using this then please reinstall package after this is merged. Close #127.

Test:

library(nfportalutils)
syn_login(Sys.getenv("SYNAPSE_AUTH_TOKEN"))
`manifest_generate("ImagingAssayTemplate", "syn38849300", output_format = "google_sheet")`
# Link downloaded as "ImagingAssayTemplate.csv"
manifest_validate(data_type = "ImagingAssayTemplate", file_name = "ImagingAssayTemplate.csv")