Learn R Programming

CytobankAPI (version 2.2.0)

populations: Population Endpoints

Description

Interact with population (aka gate sets) endpoints. A population is a set of gates and can have parents and children. Learn more about gates and populations.

Usage

# S4 method for UserSession
populations.list(
  UserSession,
  experiment_id,
  output = "default",
  timeout = UserSession@short_timeout
)

# S4 method for UserSession populations.show( UserSession, experiment_id, population_id, output = "default", timeout = UserSession@short_timeout )

Arguments

UserSession

Cytobank UserSession object

experiment_id

integer representing an experiment ID

output

character representing the output format [optional]
- populations.list, populations.show : ("default", "raw")

timeout

integer representing the request timeout time in seconds

population_id

integer representing a population ID

Details

populations.list List all populations from an experiment. Outputs a dataframe [default] or raw list with all fields present.
- Optional output parameter, specify one of the following: ("default", "raw")

populations.show Show population details from an experiment. - Optional output parameter, specify one of the following: ("default", "raw")

Examples

Run this code
if (FALSE) # Authenticate via username/password
cyto_session <- authenticate(site="premium", username="cyril_cytometry", password="cytobank_rocks!")
# Authenticate via auth_token
cyto_session <- authenticate(site="premium", auth_token="my_secret_auth_token")

if (FALSE) # Dataframe of all populations with all fields present
populations.list(cyto_session, 22)

# Raw list of all populations with all fields present
populations.list(cyto_session, 22, output="raw")

if (FALSE) populations.show(cyto_session, 22, population_id=2)

Run the code above in your browser using DataLab