I want to obtain the origin of each mutational signature but I get this error
> vcf <- signature_origins(input = vcf, Type = "SBS",
+ input_signatures = SBS_liver_sigs,
+ signature_contribution = SBS_signatures_exp1)
[1] Calculating the probability of each mutation being due to each signature..
|===============================================================================| 100%
[1] Assigning the origin of each mutation..
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'substr': undefined columns selected
In addition: Warning message:
In `[<-.data.frame`(`*tmp*`, , Sig.max.col, value = list(NULL, NULL, :
provided 588943 variables to replace 1 variables
Hello
I want to obtain the origin of each mutational signature but I get this error
This is the head of data
I am not finding the reason by google, can you help?