- target
A list, which can be created using magmaRset, containing your authorization 'token' (a string), a 'url' of magma to target (a string), and optional 'opts' for specifying additions parameters for curl requests (a named list).
- projectName
Single string. The name of the project you would like to interact with. For options, see retrieveProjects.
- modelName
Single string. The name of the subset data structure within the project, which are referred to as 'model's in magma, to interact with.
For options, see retrieveModels or https://timur.ucsf.edu/<projectName>/map.
- recordNames
Single string or string vector indicating which particular sample/tube/etc. records to target.
Options are "all" or any combination of individual record names. To retrieve individual options, see retrieveIds.
- attributeNames
Single string or string vector indicating which features of the data to target.
Options are "all" or any combination of individual attribute names. To retrieve individual options, see retrieveAttributes.
- filter
String. Potential filter(s) of the data.
Example: "<targetAttributeName>~GYN" to filter to records where <targetAttributeName> contains "GYN".
Refer to https://mountetna.github.io/magma.html#retrieve for more details about options and format.
- page
Integer. For retrieving just a portion of the data, sets which slice to get.
- pageSize
Integer. For retrieving just a portion of the data, sets slice/page size, which is equivalent to the a number of rows.
- showDisconnected
Boolean. Set to true to access "disconnected" records, which are records that are missing an (upstream) parent linkage, and so do not connect up with the project's top-level project record.
Generally, disconnected records are ones that were deemed low quality in some way, thus were purposefully disconnected from the rest of the dataset.
But sometimes a record might just be disconnected because an upload went awry.
- hideTemplate
Logical. Allows to leave out the project template from the return. Often this does not matter much, but the template can be bulky.
- ...
Additional parameters passed along to the internal `.retrieve()`, `.query()`, or `.update()` functions,
for troubleshooting or advanced-user purposes only:
request.only (Logical) & json.params.only (Logical) which 1) stop the function before its main curl request to magma and 2) returns the values that would have been sent to magma in either of two formats.
verbose (Logical) sets whether to report the status of the curl request after it is performed.