Receives one onemap object and a vector with markers names to be removed from the input onemap object and inserted in a new one. The output is a list containing the two onemap objects.
split_onemap(onemap.obj = NULL, mks = NULL)
a list containing in first level the original onemap object without the indicated markers and the second level the new onemap object with only the indicated markers
object of class onemap
markers names (vector of characters) or number (vector of integers) to be removed and added to a new onemap object