hiveProcessing: Pre- or post-process lists during GeneHive operations

GeneHive processingR Documentation

Pre- or post-process lists during GeneHive operations

Description

These functions pre-process lists that will be converted to JSON during PUT or POST API calls, or post-process list objects converted from JSON in the HTTP response body of API calls. These are utility functions that are called by other functions, and should not be called directly by the user.

Usage

hivePreprocess(x)

hivePostprocess(
  x,
  type = c("Entity", "EntityClass", "Group", "User", "WorkFileProperties")
)

Arguments

x

A list object (for hivePreprocess, must be named)

type

A character string specifying the type of the record; defaults to 'Entity'

Value

hivePreprocess

The list x, modified as needed for upload.

hivePostprocess

If the list x has no names, it represents a list of records, and a SimpleList object of the same length as x will be returned; otherwise, a single S4 object will be returned.

Author(s)

Adam C. Gower agower@bu.edu


agower/GeneHive documentation built on April 14, 2022, 5:08 a.m.