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

Got error while running PUMA through netZooR #309

Closed
kr-swapnil opened this issue Jan 2, 2024 · 5 comments
Closed

Got error while running PUMA through netZooR #309

kr-swapnil opened this issue Jan 2, 2024 · 5 comments

Comments

@kr-swapnil
Copy link

PUMA run Error in seq.default(1, num.TFs * num.TFs, num.TFs + 1) : wrong sign in 'by' argument. How to solve this?

@marouenbg
Copy link
Collaborator

Hi @kr-swapnil,
Happy new year! Would you mind sharing a working example I can reproduce?

@kr-swapnil
Copy link
Author

kr-swapnil commented Jan 3, 2024

Hi,
Happy new year!
I have attached the required input files and command to reproduce the error.

Input sample files:

  1. miRNA-target sample_miR_target.txt
  2. Gene expression sample_gexpr.txt
  3. miRNA list sample_miR_list.txt

Command:
mir.tar = read.table("sample_miR_target.txt", head=T)
tmp.expr = read.table("sample_gexpr.txt", head=T)
mir.list = read.table("sample_miR_list.txt", head=T)

puma.res = puma(motif = mir.tar, expr = tmp.expr, ppi = NULL, alpha = 0.1, mir_file = mir.list$x, iter = 1000, output = "regulatory", progress = TRUE, randomize = "within.gene", edgelist = TRUE, mode = "intersection")

@marouenbg
Copy link
Collaborator

Thank you @kr-swapnil! Happy new year to you as well! I am sorry this took too long, if you can work with the MATLAB version https://github.com/netZoo/netZooM/blob/master/netZooM/puma/RunPUMA.m until we get this fixed, otherwise I will get back to you as soon as I can.

@marouenbg marouenbg mentioned this issue Feb 3, 2024
@marouenbg
Copy link
Collaborator

Thanks for your patience @kr-swapnil , the issue has now been fixed in #310
You can reinstall netZooR from the devel branch

@marouenbg
Copy link
Collaborator

Please let me know if you need anything else.
Marouen

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

2 participants