Hi,

I'm tryint to do a "pypher" calculation from my python script, for some 
gene expression stuff.

In R, I would call it like this:
phyper(q, m, n, k, lower.tail=FALSE, log.p=FALSE)

How do I format the two last parameters, in python?

The four first ones seems simple:

p = r.phyper(q, m, n, k)

... but if I go (in python):
r.phyper(q, m, n, k, lower.tail=FALSE, log.p=FALSE)


... gives:
SyntaxError: keyword can't be an expression

Any hints, how to do this?

Best Regards
// Samuel

-- 
Developer at SNIC-UPPMAX www.uppmax.uu.se
Developer at Dept of Pharm Biosciences www.farmbio.uu.se


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to