MoSEA icon indicating copy to clipboard operation
MoSEA copied to clipboard

error trying plot_script.R

Open JamalEH opened this issue 5 years ago • 0 comments

Dear all, Thank you for sharing with us the R script to make perfect visualization of MoSEA outputs.

While trying the script on the test file I got the following error: Attaching package: ‘reshape2’

The following objects are masked from ‘package:reshape’:

colsplit, melt, recast

cancer RBP_id regulation location robust_zscore exp_log2fold

633 LUSC CELF1 positive down 2.195866 0.3741492 129 LUSC CELF1 positive up 2.194584 0.3741492 634 LUSC CELF2 positive down 2.195866 -2.9128859 130 LUSC CELF2 positive up 2.194584 -2.9128859 635 LUSC CELF3 positive down 2.195866 -0.3538104 131 LUSC CELF3 positive up 2.194584 -0.3538104 cancer RBP_id regulation location robust_zscore exp_log2fold 633 LUSC CELF1 positive down 2.19586557294325 0.3741492 129 LUSC CELF1 positive up 2.19458434304226 0.3741492 634 LUSC CELF2 positive down 2.19586557294325 -2.9128859 130 LUSC CELF2 positive up 2.19458434304226 -2.9128859 635 LUSC CELF3 positive down 2.19586557294325 -0.3538104 131 LUSC CELF3 positive up 2.19458434304226 -0.3538104 group 633 Upregulated 129 Upregulated 634 Downregulated 130 Downregulated 635 Downregulated 131 Downregulated Error in -(robust_zscore) : invalid argument to unary operator Calls: with -> with.default -> eval -> eval -> ifelse Execution halted

I run the following command while specifying the minimum zscore at 1.96 Rscript plot_script.R ./test_file.tab ../plot_script 1 3 0.2 ./test_plot.png test_heatmap

Any help would be much appreciated! Thank you in advance!

Best regards, Jamal.

JamalEH avatar Sep 03 '19 13:09 JamalEH