R/getGroupFromPath.R

#' getFinalPathList internal function
#'
#' Takes in a list of paths and returns the final classification of that path
#' @param string The path in question
#' @keywords path list haplogroup classification
#' @export

getGroupFromPath <- function(string) {
  splitstring <- strsplit(string,"->")[[1]]
  str_trim(splitstring[length(splitstring)])
}
dcrawfo/himc documentation built on May 12, 2019, 5:24 p.m.