sarahpyfrom/PLAIDOH

Throwing error in R plotting

Opened this issue · 0 comments

Dear All,
Thanks for the tool and the paper. I was trying to run the script on roughly 100 samples, on raw read count as input. The input file was formatted as directed in the README. However, when I run the following line,

perl PLAIDOH.pl ALL_exp_sorted

The program is throwing the following error response,

Problem while running this R command:
 colnames(GraphTable) <-  c("CisRegulatoryScore", "EnhancerScore")

Error:
names(x) <- value : 
  'names' attribute [2] must be the same length as the vector [0]
Calls: colnames<-
Execution halted

Alongside the above error, there was a couple of warning message as,

Use of uninitialized value within @data in concatenation (.) or string at PLAIDOH.pl line 371, <CHIA2> line 17390.
Use of uninitialized value within @data in hash element at PLAIDOH.pl line 371, <CHIA2> line 17391.
Use of uninitialized value within @data in hash element at PLAIDOH.pl line 371, <CHIA2> line 17391.
Use of uninitialized value within @data in concatenation (.) or string at PLAIDOH.pl line 371, <CHIA2> line 17391.
Use of uninitialized value within @data in hash element at PLAIDOH.pl line 371, <CHIA2> line 17392.
Use of uninitialized value within @data in hash element at PLAIDOH.pl line 371, <CHIA2> line 17392.
Use of uninitialized value within @data in concatenation (.) or string at PLAIDOH.pl line 371, <CHIA2> line 17392.
ChIA-PET file hashed...

Any help or suggestions are much appreciated.
I am using R version 4 in conda environment with all tools installed.