CreateConnection {ImmuneSpaceR} | R Documentation |
Constructor for ImmuneSpaceConnection
class.
CreateConnection( study = NULL, login = NULL, password = NULL, verbose = FALSE, onTest = FALSE )
study |
A |
login |
A |
password |
A |
verbose |
A |
onTest |
A |
Instantiates an ImmuneSpaceConnection
for study
The constructor will try to take the values of the various 'labkey.*'
parameters from the global environment. If they don't exist, it will use
default values. These are assigned to 'options', which are then used by the
ImmuneSpaceConnection
class.
an instance of an ImmuneSpaceConnection
## Not run: # Single study con <- CreateConnection("SDY269") # Cross study con <- CreateConnection("") ## End(Not run) sdy <- try(CreateConnection("SDY269")) if (inherits(sdy, "try-error")) { warning("Read the Introduction vignette for more information on how to set up a .netrc file.") }