export.Frames {flowcatchR} | R Documentation

## Exports a `Frames` object

### Description

Writes the images contained in the `image` slot of the `Frames` object elements. The images can be exported as single frames, or as a .gif image that is composed by the single frames.

### Usage

    export.Frames(
      frames,
      dir = tempdir(),
      nameStub = "testExport",
      createGif = FALSE,
      removeAfterCreatingGif = TRUE
    )

### Arguments

`frames` | A `Frames` object
`dir` | The path of the folder where the image should be written
`nameStub` | The stub for the file name, that will be used as a prefix for the exported images
`createGif` | Logical, whether to create or not an animated .gif file
`removeAfterCreatingGif` | Logical, whether to remove the single exported .png images after creating the single .gif

### Value

Image files are written in the desired location

### Author(s)

Federico Marini, marinif@uni-mainz.de, 2014

### Examples

    data("MesenteriumSubset")
    ## Not run: export.Frames(MesenteriumSubset,nameStub="subset_export_",
                           createGif=TRUE,removeAfterCreatingGif=FALSE)
    ## End(Not run)

[Package flowcatchR version 1.22.0 Index]