Learn R Programming

onemap (version 3.0.0)

split_onemap: Split onemap data sets

Description

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.

Usage

split_onemap(onemap.obj = NULL, mks = NULL)

Value

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

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