open_flowjo_xml {CytoML} | R Documentation

## Open/Close a flowJo workspace

### Description

Open a flowJo workspace and return a `flowjo_workspace` object. Close a flowjo_workspace, destroying the internal representation of the XML document, and freeing the associated memory.

### Usage

    open_flowjo_xml(file, options = 0, ...)

    closeWorkspace(workspace)

    flowjo_ws_close(workspace)

### Arguments

`file` | Full path to the XML flowJo workspace file.
`options` | xml parsing options passed to `xmlTreeParse`
`...` | other arguments passed to `xmlTreeParse`
`workspace` | A `flowjo_workspace`

### Details

Open an XML flowJo workspace file and return a `flowjo_workspace` object. The workspace is represented using a `XMLInternalDocument` object. Close a flowJoWorkpsace after finishing with it. This is necessary to explicitly clean up the C-based representation of the XML tree. (See the XML package).

### Value

a `flowjo_workspace` object.

### Examples

    ## Not run:
    	file<-"myworkspace.xml"
    	ws<-open_flowjo_xml(file);
    	class(ws); #flowjo_workspace
    	flowjo_ws_close(ws);

    ## End(Not run)

[Package CytoML version 1.12.1 Index]