Learn R Programming

flowWorkspace (version 3.16.0)

getFJWSubsetIndices: Fetch the indices for a subset of samples in a flowJo workspace, based on a keyword value pair

Description

This function will calculate the indices of a subset of samples in a flowJoWorkspace, based on a keyword/value filter. It is applied to a specific group of samples in the workspace. The output is meant to be passed to the subset= argument of parseWorkspace.

Usage

getFJWSubsetIndices(ws, key = NULL, value = NULL, group, requiregates = TRUE)

Arguments

ws
flowJoWorkspace object
key
character The name of the keyword.
value
character The value of the keyword.
group
numeric The group of samples to subset.
requiregates
TRUE or FALSE, specifying whether we include only samples that have gates attached or whether we include any sample in the workspace.

Value

A numeric vector of indices.

Details

Returns an index vector into the samples in a flowJo workspace for use with parseWorkspace(subset=), based on a keyword/value filter in a specific group of samples.

See Also

parseWorkspace