Skip to content

merged MAFs - changed sample name | error in oncodrive #1020

Answered by PoisonAlien
complexgenome asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Thanks for the issue. data.table::rbindlist() returns a data.table. You must convert it to an MAF object with read.maf().

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by complexgenome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants