I keep getting the following error message when running
maf <- readMaf(mafFile = "project_maf/C2.maf.tsv", 
               clinicalFile = clin.File, 
               ccfFile = NULL, 
               refBuild = "hg19")
Error message:
>Error in dplyr::left_join(): ! Join columns must be present in data. ✖ Problem with Tumor_Sample_Barcode. Run rlang::last_error() to see where the error occurred.
Currently using MesKit to perform this analysis which requires me to analysis one maf per sample. This means there's only one Tumor_Sample_Barcode per maf file.
Does anyone have any ideas on how to overcome this error?
colnames(maf.tb)
     [1] "Hugo_Symbol"            "Chromosome"             "Start_Position"        
 [4] "End_Position"           "Variant_Classification" "Variant_Type"          
 [7] "Reference_Allele"       "Tumor_Seq_Allele2"      "Ref_allele_depth"      
[10] "Alt_allele_depth"       "VAF"                    "Tumor_Sample_Barcode" 
        
          
`colnames.clin.tb`
               
Tumor_Sample_Barcode Tumor_ID Patient_ID Tumor_Sample_Label
