markernames,GatingHierarchy-method {flowWorkspace} | R Documentation

## Get/set the column(channel) or marker names

### Description

It simply calls the methods for the underlying flow data (flowSet/ncdfFlowSet/ncdfFlowList).

### Usage

    ## S4 method for signature 'GatingHierarchy'
    markernames(object)

    ## S4 replacement method for signature 'GatingHierarchy'
    markernames(object) <- value

    ## S4 method for signature 'GatingHierarchy'
    colnames(x, do.NULL = "missing",
      prefix = "missing")

    ## S4 replacement method for signature 'GatingHierarchy'
    colnames(x) <- value

    ## S4 method for signature 'GatingSet'
    markernames(object)

    ## S4 replacement method for signature 'GatingSet'
    markernames(object) <- value

    ## S4 method for signature 'GatingSet'
    colnames(x, do.NULL = "missing",
      prefix = "missing")

    ## S4 replacement method for signature 'GatingSet'
    colnames(x) <- value

### Arguments

`value` | named character vector for markernames<-, regular character vector for colnames<-.
`x, object` | GatingHierarchy/GatingSet/GatingSetList
`do.NULL, prefix` | not used.

### Examples

    ## Not run:

    markers.new <- c("CD4", "CD8")
    chnls <- c("<B710-A>", "<R780-A>")
    names(markers.new) <- chnls
    markernames(gs) <- markers.new

    chnls <- colnames(gs)
    chnls.new <- chnls
    chnls.new[c(1,4)] <- c("fsc", "ssc")
    colnames(gs) <-  chnls.new

    ## End(Not run)

[Package flowWorkspace version 3.34.1 Index]