Projects-class {BaseSpaceR} | R Documentation |
Projects
and ProjectsSummary
objectsClasses and methods to handle the Projects resource.
The Projects resource provides a logical grouping of the Samples resource and the AppResults resource for a given user.
listProjects(x, ...)
lists all the available projects visable
to the user, returning only a small summary for each project.
is an AppAuth
object.
Parameters supported by the REST API, specified as
name = value
. For example,
listProjects(x, Limit = 2)
Projects()
:
Instantiates an empty Projects
object. Same as new("Projects")
.
Projects(x, id)
:
x
is an AppAuth
object.
id
is either and integer or a character string storing an
integer. id
can have length larger that 1.
Projetcs(x)
:
x
is an ProjectsSummary
object.
Adrian Alexa
https://developer.basespace.illumina.com/docs/content/documentation/rest-api/api-reference
AppAuth
, Response
,
Users
and Runs
.
data(aAuth) p <- listProjects(aAuth) p Projects(aAuth, id = c(2, 12, 1012)) Projects(p) ## Make a new project ... createProject(aAuth, name = "My Project X") ## We need 'write global' access to be able to create a new project ## Not run: initializeAuth(aAuth, scope = "write global") requestAccessToken(aAuth) createProject(aAuth, name = "My Project X") ## End(Not run)