cyto_split: Split samples merged with cyto_merge

View source: R/cyto-helpers.R

cyto_splitR Documentation

Split samples merged with cyto_merge

Description

Extract individual samples merged using cyto_merge() based on "Sample ID" column created by cyto_barcode().

Usage

cyto_split(x, names = NULL)

Arguments

x

object of class flowFrame.

names

vector of names to assign to each of the extracted flowFrames when saving the split files. Name should be supplied in the order used prior to merging.

Value

list of split flowFrames.

Author(s)

Dillon Hammill, Dillon.Hammill@anu.edu.au

See Also

cyto_merge_by

cyto_barcode

Examples


# Load CytoExploreRData to access data
library(CytoExploreRData)

# Activation flowSet
fs <- Activation

# Merge samples
fr <- cyto_merge_by(fs, "all")[[1]]

# Split merged samples
fr_list <- cyto_split(fr, names = cyto_names(fs))

DillonHammill/CytoExploreR documentation built on March 2, 2023, 7:34 a.m.