R/split_by_name.R

Defines functions split_by_name

Documented in split_by_name

#'@title a function to split a GRanges into GRangesList by its names.
#'@param x a list like object.
#'
#'@return the list split by its names.
#'@keywords internal
#'
split_by_name <- function(x) {
  return(split(x, names(x)))
}

Try the exomePeak2 package in your browser

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

exomePeak2 documentation built on Nov. 8, 2020, 5:27 p.m.