Learn R Programming

ncdfFlow (version 2.18.0)

as.flowSet: convert from a ncdfFlowSet to a flowSet

Description

The main purpose of this API is to convert the archived data (stored in ncdfFlowSet) to flowSet when the speed is more concerned than memory effieciency. Although ncdfFlowSet is designed to minimize the disk-IO cost, so usually it is not necessary to do such coersion.

Usage

as.flowSet(from, top)

Arguments

from
a ncdfFlowSet
top
integer specifies a certain number of samples are evenly selected for the coersion. If this argument is missing, then coerce all the samples within the ncdfFlowSet. It is to be used with caution because it can incur the huge memory consumption given the flowSet is all-in-memory data structure.

Examples

Run this code
data(GvHD)
nc1 <- ncdfFlowSet(GvHD[1:4])
fs <- as.flowSet(nc1)

Run the code above in your browser using DataLab