Entering edit mode
3.2 years ago
Zahra
▴
110
Hi,
I have annovar format file and want to convert it to maf , and to this aim, I use the annovarToMaf:
library(maftools)
var.annovar <- system.file("extdata", "ann_test.txt", package = "maftools")
var.annovar.maf <- annovarToMaf(annovar = "ann_test.txt",
Center = 'CSI-NUS', refBuild = 'hg19',
table = 'refGene', MAFobj = TRUE )
But no .maf file is created by this code. How can I get the output as a maf file?
Thanks for any help.
Should you be calling
annovar = var.annovar
rather thanannovar = "ann_test.txt"
in yourannovarToMaf
function?Dear Kyle,
Thanks for your reply. when I use
annovar = var.annovar rather than annovar = "ann_test.txt"
I receive the error below :and I don't know how to fix it.