R/maf-oncokb-annotator.R

Defines functions oncoKB.annotate

Documented in oncoKB.annotate

#' oncoKB.annotate
#'
#' OncoKB annotaor for MAF files.
#'
#' @param maf
#' @return OncoKb annotate MAF.
#' @export
#'
#' @examples

oncoKB.annotate <- function(input,output,lib.path = NULL){

  if(is.null(lib.path)) lib.path <- .libPaths()

  system(paste0("python ",lib.path,"/gnomeR/MafAnnotator.py -i ",input," -o ",output ))

}
margarethannum/gnomeR documentation built on Feb. 26, 2020, 8:16 p.m.