R/getSubID.R

Defines functions getSubID

Documented in getSubID

#' @name getSubID
#' @description takes a vector of RepeatMasker TE_IDs with unique _x tag, and removes the tag.
#' @param uniqID: vector with unique IDs
#' @title getSubID - easy parsing
#' @export getSubID
#' @examples
#' getSubID(uniqID = rownames(countTEdata))
 
# get the unique name f
getSubID = function(uniqID=NULL){
  return(sub("_[^_]+$", "", uniqID))
}
perllb/deseqAbstraction documentation built on Oct. 31, 2023, 2:13 a.m.