I have 3 data frames for treatment of 3 different drugs and in each of them I have the number of mutation types like insertion, deletion, SNP and total of mutations for each patients. In each group I have different number of patients like below
> head(dat1)
patient DEL INS SNP MNP total
1: LP6008337-DNA_H06 927 773 40756 0 42456
2: LP6008334-DNA_D02 1049 799 31009 0 32857
> dim(dat1)
[1] 21 6
>
head(dat2)
Patient DEL INS SNP MNP total
1: LP6008031-DNA_E01 13552 3374 62105 0 79031
2: LP6005500-DNA_G01 539 500 43451 0 44490
> dim(dat2)
[1] 33 6
>
> head(dat3)
Patient DEL INS SNP MNP total
1: LP6005935-DNA_F03 39168 16739 58095 0 114002
2: LP6008269-DNA_D08 849 910 103501 11 105271
> dim(dat3)
[1] 106 6
I want to show if the number of each mutational category and total is different for each drug by boxplot, violinplot or any type of visualization
For example this picture is very nice
Can you help me?