filterLabels {MetaCyto} | R Documentation |
A function that filter cluster labels.
filterLabels(labels, minPlus, minMarker, maxMarker)
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. |
Returns a vector of labels that pass through the filter.
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)