UMCUGenetics / MutationalPatterns

R package for extracting and visualizing mutational patterns in base substitution catalogues
MIT License
104 stars 45 forks source link

Mutation matrix as input instead of vcf files #80

Open tc86 opened 1 year ago

tc86 commented 1 year ago

Hi, are there any options to load mutational matrix generated from other tools to use as the input file instead of vcf files? I have more than 200 samples and creating the granges object from the vcf files is taking a very long time.

rhagelaar commented 1 year ago

Hi tc86,

This is possible when you read in your mut_matrix. I use the following command: mut_mat <- read.table("your_matrix.txt", sep = "\t", header = T) Hope this helps