gs_update_channels.RdIt updates the channels stored in gates,compensations and transformations based on given mapping between the old and new channel names.
gs_update_channels(gs, map, all = TRUE)
| gs | a GatingSet object |
|---|---|
| map |
|
| all |
|
when 'all' is set to TRUE, it returns a new GatingSet but it still shares the same underling c++ tree structure with the original GatingSet otherwise it returns nothing (less overhead.)
if (FALSE) { ##this will update both "Qdot 655-A" and "<Qdot 655-A>" gs <- gs_update_channels(gs, map = data.frame(old = c("Qdot 655-A") , new = c("QDot 655-A") ) ) }