Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error trying plot_script.R #4

Open
JamalEH opened this issue Sep 3, 2019 · 0 comments
Open

error trying plot_script.R #4

JamalEH opened this issue Sep 3, 2019 · 0 comments

Comments

@JamalEH
Copy link

JamalEH commented Sep 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant