coerce-FCSformat {rflowcyt} | R Documentation

## Convert Data Objects

### Description

Convert between rflowcyt and prada data objects.

### Details

Objects can be converted (coerced) from one class to another using `as(object, Class)` where `object` is an object to convert and `Class` is the name of the class to convert to. The following conversions are provided:

From: | To:
`FCS` | `cytoFrame`
`cytoFrame` | `FCS`

Note that `cytoFrame` objects are coerced to `cytoFrame` in such a way that the metadata are not stored in the exact same order.

### Author(s)

N. Le Meur

### See Also

`as` in the `methods` package.

### Examples

    x <- new("FCS")
    y <- as(x,"cytoFrame")

    ##z <- new("cytoFrame")
    ##z@exprs <- matrix(rnorm(5*2),5,2)
    ##y <- as(z,"FCS")

[Package rflowcyt version 1.16.0 Index]