R/assignTemplate.R

#' assignTemplate
#' 
#' This function extract the tempate (DNA/RNA) from 
#' a filename
#'
#' @param x1: \code{filename}
#'
#' @return y1: template
#'
#'
#' @export
#'
assignTemplate <- function(filename){
    ifelse(substr(filename,2,2)=='D','DNA','RNA')
}
wckdouglas/plasmaDNA documentation built on May 4, 2019, 2:03 a.m.