maftools icon indicating copy to clipboard operation
maftools copied to clipboard

Reading Clinical data with maftool

Open shhabnsbwjd opened this issue 3 years ago • 7 comments

Hello,

I want to read my clinical data using maf tools. The data is in tsv format and I am reading it using the code; read.maf(maf = "var.annovar.maf", clinicalData = "clinical_data.tsv", verbose = FALSE))

But i am getting this error Error in is.data.frame(x = maf) : argument "maf" is missing, with no default

What should I do?

shhabnsbwjd avatar Jul 11 '22 11:07 shhabnsbwjd

Could you try running with read.maf("var.annovar.maf", "clinical_data.tsv") and also posting your session information? @shhabnsbwjd

ShixiangWang avatar Jul 12 '22 01:07 ShixiangWang

Hi, What is var.annovar.maf? Is it a file or a data.frame?

PoisonAlien avatar Jul 12 '22 02:07 PoisonAlien

Hi, What is var.annovar.maf? Is it a file or a data.frame?

Yes, this is the file I made after converting my annovartomaf

shhabnsbwjd avatar Jul 12 '22 08:07 shhabnsbwjd

Could you try running with read.maf("var.annovar.maf", "clinical_data.tsv") and also posting your session information? @shhabnsbwjd

Yes sure, let me try

shhabnsbwjd avatar Jul 12 '22 08:07 shhabnsbwjd

Screenshot (2236) not working

shhabnsbwjd avatar Jul 13 '22 12:07 shhabnsbwjd

Hi, It says the file does not exist. Please make sure you are providing the correct and full path to the file.

PoisonAlien avatar Jul 13 '22 12:07 PoisonAlien

@shhabnsbwjd Try dir(), you may find the file does not exist as @PoisonAlien pointed out. You need to locate your file and set the full path to it, or you need to set working directory to the directory path where your data located with setwd().

ShixiangWang avatar Jul 14 '22 05:07 ShixiangWang

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Aug 08 '23 02:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 23 '23 01:08 github-actions[bot]