list_projects: List projects

View source: R/project.R

list_projectsR Documentation

List projects

Description

A project forms one of the most basic entities in the organizational hierarchy of openBIS. Each project consists of one or several experiments and one or more projects are contained in each space, which is the topmost structure used for grouping experiments. For InfectX, each project corresponds to a separate pathogen. All registered projects visible to the current user can be listed by calling the function list_projects().

Usage

list_projects(token, ...)

Arguments

token

Login token as created by login_openbis().

...

Further arguments will be passed to make_requests().

Value

Depending on the number of resulting objects, either a json_class (single object) or a json_vec (multiple objects), of sub-type Project is returned.

openBIS

  • \Sexpr[results=rd]{infx::docs_link("gis", "listProjects")}

See Also

Other object listing functions: list_datasets, list_experiments, list_material, list_plates, list_samples

Examples


  tok <- login_openbis()

  proj <- list_projects(tok)
  length(proj)
  get_field(proj, "code")

  logout_openbis(tok)



ropensci/infx documentation built on May 14, 2022, 5:51 p.m.