split_onemap {onemap} | R Documentation |
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)
onemap.obj |
object of class onemap |
mks |
markers names (vector of characters) or number (vector of integers) to be removed and added to a new onemap object |
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