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

nodesig and nodesigl - different results in R and shell #17

Closed
Dirtza opened this issue May 22, 2017 · 3 comments
Closed

nodesig and nodesigl - different results in R and shell #17

Dirtza opened this issue May 22, 2017 · 3 comments

Comments

@Dirtza
Copy link

Dirtza commented May 22, 2017

Hi!
I am using the commands nodesig and nodesigl to calculate some "hotnodes".
I have some test files to learn how to do it and discovered that I get different results if I run these commands in R or in the shell.

  1. The rank and median are not exactly the same
  2. the node signals are different!!!

When I run it in R, the nexus file for nodsig has e.g. 6 nodes marked with "[%note = 'string:SIGMORE']". The command nodesigl gives me the table where significant nodes are marked with "+". However, in the table, there are 7 "+" - so one signal too much!

When I run it in the shell, exactly the opposite is happening: 7 nodes are marked with [%note = 'string:SIGMORE']" in the nexus file and only 6 nodes are labelled with "+".

I use R studio Version 1.0.136, (R version 3.3.2) - however I can not use phylocomr under this version. (OS X, Version 10.9.5)
Thus I run phylocom via R like this: system("./phylocom nodesigl phylo sample > HotNode_test.txt") - could this maybe cause a problem?

Attached you will find the test files.
Thank you in advance!!

Tree50_test.txt
sample50_test.txt

@sckott
Copy link
Contributor

sckott commented May 22, 2017

thanks for the issue @Dirtza I will take a look at your question.

however I can not use phylocomr under this version.

what do you mean? You can not install phylocomr? Not promising this will solve your problems, but good idea to upgrade to OSX Sierra and R 3.4.0

What version of phylocomr are you using?

@Dirtza
Copy link
Author

Dirtza commented May 23, 2017 via email

@sckott
Copy link
Contributor

sckott commented Jun 13, 2017

glad you figured it out!

@sckott sckott closed this as completed Jun 13, 2017
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