lsa_query

Issue #12 wontfix
Former user created an issue

Hello,

This is probably a simple fix, but I cannot figure this out. I am trying out the lsa_query command on my lsa results, and I get the following error: Command:

$ lsa_query output.recipients.lsa output.recipients.query -q '(!lsa$P>0.01)&(lsa$Q<0.01)'
learning arguments...
q= (!output.recipients.lsa$P>0.01)&(output.recipients.lsa$Q<0.01)
reading the lsatable...
Traceback (most recent call last):
  File "/Users/username/Library/Enthought/Canopy_64bit/User/bin/lsa_query", line 9, in <module>
    load_entry_point('lsa==1.0.2', 'console_scripts', 'lsa_query')()
  File "/Users/username/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/lsa-1.0.2-py2.7-macosx-10.6-x86_64.egg/lsa/lsa_query.py", line 102, in main
    r('''lsa <- read.delim("%s")''' % rawFile.name)
NameError: global name 'r' is not defined

Is there something wrong with my file, or did I not specify the command correctly?

Thanks,

Comments (2)

  1. Charlie Xia repo owner

    Hi, recently we dropped the dependency on Rpy2 and as a result, lsa_query is no longer supported. As you may already known, all the query task should be easily done with R.

  2. Log in to comment