txt to .maf format
1
0
Entering edit mode
2.4 years ago
Maryam ▴ 10

Hello,

I am trying to import my variant file with all the required maf columns in R studio

Chr Start   End Ref Alt Gene.refGene    GeneDetail.refGene  ExonicFunc.refGene  AAChange.refGene    Tumor_Sample_Barcode    Func.refGene

using this code;

var.annovar2 <- system.file("extdata", "mutation.hg19_multianno.txt", package = "maftools")

But imported file is empty

Kindly can someone help me please what am missing

Thank you

maftools • 988 views
ADD COMMENT
0
Entering edit mode

.txt isn't a format. Please edit your question to show a sample of the .txt file.

ADD REPLY
0
Entering edit mode
17 months ago
Ram 44k

Really late answer but here it goes anyway.

I looked at maftools' github history for inst/extdata for the past 6 years, and I don't see the file mutation.hg19_multianno.txt. From the naming conventions being used by PoisonAlien, this doesn't feel like a file that they would include, which means it's probably a custom file you're supplying.

I'm also assuming that there's some sort of error message you're not observing or not reporting here, because you should see a file not found error as you're trying to read a non-existent file. Use read.maf with the absolute path to the file you're trying to read in, as system.file is used to load files supplied by the package, not your own files.

ADD COMMENT

Login before adding your answer.

Traffic: 1629 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6