filterLabels: Filter cluster labels

Description Usage Arguments Value Examples

View source: R/filterLabels.R

Description

A function that filter cluster labels.

Usage

1
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

1
2
3
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)

MetaCyto documentation built on Nov. 8, 2020, 7:50 p.m.