filterLabels {MetaCyto} | R Documentation

## Filter cluster labels

### Description

A function that filter cluster labels.

### Usage

    filterLabels(labels, minPlus, minMarker, maxMarker)

### Arguments

`labels` | A vector containing labels for cell clusters
`minPlus` | An integer, used to specify the minimum number of "+" a label should contain.
`minMarker` | An integer, used to specify the minimum number of markers a label should contain.
`maxMarker` | An integer, used to specify the max number of markers a label should contain.

### Value

Returns a vector of labels that pass through the filter.

### Examples

    labels= c("CD3-|CD4-|CD8-","CD3+|CD4+|CD8-",
             "CD3+|CD4-|CD8+","CD3+|CD4-|CD8+|CCR7+|CD45RA-|CCR6-")
    labels=filterLabels(labels=labels,minPlus=1,minMarker=2,maxMarker=5)

[Package MetaCyto version 1.4.1 Index]