split_onemap function

Split onemap data sets

Split onemap data sets

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)

Arguments

  • 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

Returns

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

  • Maintainer: Cristiane Taniguti
  • License: GPL-3
  • Last published: 2025-01-10