Hello
I want to use ParsSNP to identify driver mutations in the somatic mutation dataset of cancer. My input file is just like the sample input file given. When I run this script "ParsSNP_application.r" in order to get ParsSNP scores using following command:
Rscript ParsSNP_application.r input-file
I get this error
Loading required package: nnet
[1] "Input and supporting files read."
Warning messages:
1: In is.na(d$ExonicFunc.refGene) :
is.na() applied to non-(list or vector) of type 'NULL'
2: In is.na(d$ExonicFunc.refGene) :
is.na() applied to non-(list or vector) of type 'NULL'
Error in $<-.data.frame
(*tmp*
, "ExonicFunc.refGene", value = character(0)) :
replacement has 0 rows, data has 78976
Calls: $<- -> $<-.data.frame
Execution halted
I am unable to comprehend this error. Can someone please help me understand?