gatingset_to_flowjo {CytoML} | R Documentation

## Convert a GatingSet to flowJo workspace

### Description

It is a R wrapper for the docker app (https://hub.docker.com/r/rglab/gs-to-flowjo)

### Usage

    gatingset_to_flowjo(gs, outFile, showHidden = FALSE, docker_img = NULL, ...)

### Arguments

`gs` | a GatingSet object or a folder contains the GatingSet archive (generated by previous `save_gs` call)
`outFile` | the workspace file path to write
`showHidden` | whether to export hidden gates. Default is FALSE
`docker_img` | the docker image that does the actual work
`...` | other arguments passed to `save_gs`

### Details

Docker images for `gatingset_to_flowjo` will be maintained at https://gallery.ecr.aws/x4k5d9i7/cytoverse/gs-to-wsp

`docker pull public.ecr.aws/x4k5d9i7/cytoverse/gs-to-wsp:latest`

### Value

nothing

### Examples

    ## Not run:
    library(flowWorkspace)

    path <- system.file("extdata",package="flowWorkspaceData")
    gs_path <- list.files(path, pattern = "gs_manual",full = TRUE)
    gs <- load_gs(gs_path)

    #output to flowJo
    outFile <- tempfile(fileext = ".wsp")
    gatingset_to_flowjo(gs, outFile)

    #or directly use the archive as the input (to avoid the extra copying inside of the wrapper)
    gatingset_to_flowjo(gs_path, outFile)

    ## End(Not run)

[Package CytoML version 2.6.0 Index]