cyto_names<- | R Documentation |
Replacement method for cyto_names
cyto_names(x) <- value
x |
object of class flowFrame, flowSet, GatingHierarchy or GatingSet. |
value |
vector of replacement names. |
Dillon Hammill, Dillon.Hammill@anu.edu.au
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.