js transformation script help

LabKey Support Forum (Inactive)
js transformation script help Will Holtz  2017-02-21 11:02
Status: Closed
 
Hi Chris,

Another approach that you might consider is to not make use of the assay transformation script functionality, but instead, do the following:
1) load data with client-side js
2) transform your data in the client browser using js
3) save data to Labkey using js API calls

I used to make frequent use of assay transformation scripts written in R, but I've found this js based approach results in a more responsive UI and have a higher degree of compatibility across Labkey versions. Also, I was drawn to assay transformation scripts as an easy way of getting Excel data into Labkey, but now there are good js libraries for reading in Excel files, so that is no longer a barrier either.

-Will