Changes between Version 2 and Version 3 of xQTLBioinformaticianRCheatSheet
- Timestamp:
- 2011-10-26T09:30:27+02:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
xQTLBioinformaticianRCheatSheet
v2 v3 2 2 3 3 = [wiki:xQTL xQTL workbench] - Cheat sheet for R scripting = 4 5 === Get a parameter from server === 6 `size <- getparameter("size",jobparams)` 7 8 === Do a status update === 9 `report(2,"Loading 5%...")` 4 10 5 11 === Get a simple overview of all data matrices === … … 22 28 `rownames(data) <- c("myMarker1", "myMarker2")`[[BR]] 23 29 `add.datamatrix(data, name="myResults", investigation_id=invId, rowtype="Marker", coltype="Individual", valuetype="Text")`[[BR]] 30 31 === Upload a file === 32 `uri <- paste(dbpath,"/uploadfile",sep="")`[[BR]] 33 `path <- "testimage.png"`[[BR]] 34 `postForm(uri,investigation_name=investigationname, name="my_image", type="InvestigationFile", file=fileUpload(filename=path), style='HTTPPOST')`