| coerce-FCSformat {rflowcyt} | R Documentation |
Convert between rflowcyt and prada data objects.
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.
N. Le Meur
as in the methods package.
x <- new("FCS")
y <- as(x,"cytoFrame")
##z <- new("cytoFrame")
##z@exprs <- matrix(rnorm(5*2),5,2)
##y <- as(z,"FCS")