R/getAnnotation.R

Defines functions getAnnotation

Documented in getAnnotation

#' Assign annotated lab + prep
#'
#' inputting prep and lab and it will return
#' the annotation for facet
#'
#' @param prep the prep for the RNA-seq library \code{inputParameter1}
#' @param lab the lab that the RNA-seq library was made from \code{inputParameter1}
#'
#' @return annotation
#'
#' @keywords keywords
#'
#' @export
#'
#' @examples
#' R code here showing how your function works
getAnnotation <- function(prep,lab){
    ifelse(prep=='TruSeq v2',paste0(prep,' (',lab,')'),prep)
}
wckdouglas/tgirtABRF documentation built on May 4, 2019, 2:03 a.m.