coerce | R Documentation |
These functions manage the relations that allow coercing an object to a given class.
from , to |
The classes between which |
The function supplied as the third argument is to be called to implement
as(x, to)
when x
has class from
. Need we add that the
function should return a suitable object with class to
.
F. Hahne, B. Ellis
samp1 <- read.FCS(system.file("extdata","0877408774.E07", package="flowCore"))
samp2 <- read.FCS(system.file("extdata","0877408774.B08",package="flowCore"))
samples <-list("sample1"=samp1,"sample2"=samp2)
experiment <- as(samples,"flowSet")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.