merged MAFs - changed sample name | error in oncodrive #1020
-
Hi there, I'm interested in using oncodrive function in the maftools R library. I'd like to merge MAFs, but saw there's been issue with sample name: I replaced column 16th column (Tumor_Sample_Barcode) with sample name in the MAF file using bash code as:
$sample_name".maf" is edited file with 16th column I then use R to merge the MAFs:
I run into error as:
I then used help from #722
I run into error as:
session info: R version 4.3.2 (2023-10-31) Let me know if any other details are needed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, Thanks for the issue. mafs = data.table::rbindlist(l = mafs, use.names = TRUE, fill = TRUE, idcol = "Source_MAF")
m = maftools::read.maf(mafs)
oncodrive(m) Also, please take a look at the warning message. You may want to consider alternative options. |
Beta Was this translation helpful? Give feedback.
Hi,
Thanks for the issue.
data.table::rbindlist()
returns adata.table
. You must convert it to an MAF object withread.maf()
.Also, please take a look at the warning message. You may want to consider alternative options.