set2Frame: Combine cells in a flow set into a flow frame.

Description Usage Arguments Value Examples

View source: R/set2Frame.R

Description

A function that combines cells in a flow set into a flow frame.

Usage

1
set2Frame(flowSet)

Arguments

flowSet

A flow set object

Value

Returns a flowFrame object. All cells from flow set are combined into one flow frame. A new parameter, sample_id, is introduced to indicate the origin of each cell.

Examples

1
2
3
4
5
6
library(flowCore)
files=system.file("extdata","SDY420/ResultFiles/CyTOF_result",
                  package="MetaCyto")
files=list.files(files,pattern="fcs$",full.names=TRUE)
flow_set = read.flowSet(files)
flow_frame = set2Frame(flow_set)

hzc363/MetaCyto documentation built on July 27, 2020, 2:46 a.m.