getFlowJoGates {flowFlowJo} | R Documentation

## getFlowJoGates

### Description

Given a parsed FlowJo workspace (flowJoObj) or list of FlowJo workspaces (flowJoList), return an indexed list of the gates, as flowCore style filter objects, for each of the FCS files. Also get the associated compensation matrices.

### Usage

    getFlowJoGates(fj, fileNamePatterns)

### Arguments

`fj` | a flowJoList or flowJoObj
`fileNamePatterns` | a vector of one or more patterns used to pick specific FCS files from the complete list of FCS files (with their paths) listed in the FlowJo workspace(s). The default is “.” – ie all of the FCS files will be chosen.

### Value

The method getFlowJoGates returns a list of ordered lists which includes references to a set of FCS files, their locations, all gating structures related to them (as flowCore filter objects), the names of those gates (filters), and the associated compensation matrices for the FCS files.

### Author(s)

John Gosink

### See Also

See also FlowJo from TreeStar Inc, at: http://www.flowjo.com/

### Examples

    # Note this may take a moment to process the whole XML file
    library(flowFlowJo);
    demoLocation <- system.file("extdata", "DemoWorkspace.wsp", package="flowFlowJo");
    actualFCSLoc <- system.file("extdata/fcsFiles", package="flowFlowJo");
    testList     <- readFlowJoList(demoLocation, altFileLocation=actualFCSLoc);
    z            <- getFlowJoGates(testList, fileNamePatterns=c("A01"));

[Package flowFlowJo version 1.2.0 Index]