5 --------------------------------------------------------------------------------------------------------------------------------
9 arv <- Arvados("insert_token", "insert_host_name")
10 arv$collection_get("uuid")
12 --------------------------------------------------------------------------------------------------------------------------------
16 collectionList <- arv$collection_list(list("uuid", "=" "aaaaa-bbbbb-ccccccccccccccc"), limit = 10, offset = 2)
18 --------------------------------------------------------------------------------------------------------------------------------
22 deletedCollection <- arv$collection_delete("uuid")
24 --------------------------------------------------------------------------------------------------------------------------------
28 updatedCollection <- arv$collection_update("uuid", list(collection = list(name = "new_name", description = "new_desciption")))
30 --------------------------------------------------------------------------------------------------------------------------------
34 updatedCollection <- arv$collection_update("uuid", list(collection = list(name = "new_name", description = "new_desciption")))
36 --------------------------------------------------------------------------------------------------------------------------------
38 --------------------------------------------------------------------------------------------------------------------------------
40 Things I'm currently working on and are not finished.
42 Collection manipulation:
44 arv <- Arvados("insert_token", "insert_host_name")
46 //This will be removed
47 arv$setWebDavToken("webdav_token")
48 arv$setWebDavHostName("full_path_to_the_collection_on_webdav_server")
50 collection <- Collection(arv, "uuid")
51 --------------------------------------------------------------------------------------------------------------------------------
52 This will return all files in collection as character vector.
54 listOfFilesInCollection <- collection$items
55 --------------------------------------------------------------------------------------------------------------------------------
57 This will return ArvadosFile or Subcollection from internal tree-like structure.
59 collection <- Collection(arv, "uuid")
61 arvadosFile <- collection.get("location/to/my/file.exe")
62 arvadosSubcollection <- collection.get("location/to/my/directory/")
65 --------------------------------------------------------------------------------------------------------------------------------