R/com.feature.R

Defines functions com.feature

# ... stand for different atomic vectors
com.feature <- function(..., method = 'merge'){
  switch(method,
    'merge' = unique(c(...)),  # input should be a vector.
    'overlap' = Reduce(intersect, ...)
  )
}

Try the CrossICC package in your browser

Any scripts or data that you put into this service are public.

CrossICC documentation built on April 29, 2020, 4:40 a.m.