split_big_flowFrames: Split big flow frames into smaller fcs files

View source: R/split_flowframes.R

split_big_flowFramesR Documentation

Split big flow frames into smaller fcs files

Description

Split the big flow frames into smaller ones.

Usage

split_big_flowFrames(
  flow_frame,
  event_per_flow_frame = 5e+05,
  out_dir = NULL,
  min_cell_per_fcs = 20000
)

Arguments

flow_frame

Flow frame containing cytometry data.

event_per_flow_frame

Numeric, the number of events to be split to small flow frames, default is set to 500000.

out_dir

Character, pathway to where the files should be saved, default is set to file.path(getwd(), Splitted).

min_cell_per_fcs

Numeric, minimal number of cells in flow frame to save fcs file, default 20000.

Value

Save splitted fcs files in out_dir.

Examples

ff <- flowCore::read.FCS(list.files(path = raw_data_dir,
pattern = ".FCS", full.names = TRUE)[1])

split_big_flowFrames(flow_frame = ff, event_per_flow_frame = 100000)


prybakowska/CytoQP documentation built on June 28, 2022, 12:36 a.m.