labguru_list_experiments: Labguru list experiments

View source: R/experiment.R

labguru_list_experimentsR Documentation

Labguru list experiments

Description

This function returns information of the available experiments in a data frame.

Usage

labguru_list_experiments(
  folder_id = NULL,
  page = 1,
  get_cols = "limited",
  server = Sys.getenv("LABGURU_SERVER"),
  token = Sys.getenv("LABGURU_TOKEN")
)

Arguments

folder_id

numeric(1) The folder id for which to list experiments.

page

numeric(1) representing the page number of data to request. Limited data can be return in 1 request, incrementally try higher page numbers for more experiments

get_cols

character(1) either 'limited' or 'all' to return a subset or all of the information regarding the experiments

server

character(1) indicating the server URL

token

character(1) access token for API authentication

Value

dataframe with information of experiments, NULL if no projects were available for the request

Examples

## Not run: 
# The following example shows limited information for experiments in all folders (default)
labguru_list_experiments(folder_id = NULL, 
                         page      = 1, 
                         get_cols  = "limited")

## End(Not run)

BioData/LabguruR documentation built on May 11, 2022, 11:46 p.m.