maftools
maftools copied to clipboard
Subset genes in the initial steps
Is there a way to subset genes and remove some of them (namely) from the maf file? Or, the opposite, only keep the ones we want to investigate more and would like to see more deeply (i.e. in the oncoprint)? Thanks
Hi,
Check out filterMaf
function. I hope this helps.
#remove genes of intrest
filterMaf(maf = laml, genes =c("TTN", "AHNAK2"))
Wow that was quick! Thank you so much.
How about selecting genes from the ratio mutation / length? I know this would be MutSig material, but is there a way (maybe simplified) to obtain this data from maftools?
Hi,
This is a very specific case. But if you know what genes, samples, or genomic regions, you are particularly interested in, you could use subsetMaf
.
I see. Is there some point in the pipeline where I can find the genes length, so I can manually do the ratio and then subset? Thank you again!
Unfortunately it is not possible :|
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.