It is the inverse function of gatingTemplate constructor.
as.data.table(x, keep.rownames = FALSE)
x
gatingTemplate object
keep.rownames
not used
a data.table