cyto_names-set: Replacement method for cyto_names

cyto_names<-R Documentation

Replacement method for cyto_names

Description

Replacement method for cyto_names

Usage

cyto_names(x) <- value

Arguments

x

object of class flowFrame, flowSet, GatingHierarchy or GatingSet.

value

vector of replacement names.

Author(s)

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

Examples


library(CytoExploreRData)

# Activation flowSet
fs <- Activation

# Sample names
cyto_names(fs)

# Change first sample name
cyto_names(fs)[1] <- "first_sample"

# Activation GatingSet
gs <- GatingSet(fs)

# Change last sample name
cyto_names(gs)[length(gs)] <- "last_sample"

# Updated sample names
cyto_names(gs)

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