-
Notifications
You must be signed in to change notification settings - Fork 17
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
SCINA Python version? #16
Comments
Hi Laura, Thanks for your interest! Currently we did not plan for making a SCINA python implementation. As a workaround, would you like to try wrapping SCINA functions in a shell command, and call the command with python when in use? Please let me know if you have questions about wrapping up functions. Thanks! Best regards, Ze |
Hi Ze,
Thank you for the swift reply. I never tried wrapping an R function and calling it with Python. Is there a workflow you can recommend?
Best,
Laura
From: Ze Zhang ***@***.***>
Date: Wednesday, October 6, 2021 at 1:34 PM
To: jcao89757/SCINA ***@***.***>
Cc: Luebbert, Laura ***@***.***>, Author ***@***.***>
Subject: Re: [jcao89757/SCINA] SCINA Python version? (#16)
Hi Laura,
Thanks for your interest!
Currently we did not plan for making a SCINA python implementation. As a workaround, would you like to try wrapping SCINA functions in a shell command, and call the command with python when in use? Please let me know if you have questions about wrapping up functions. Thanks!
Best regards, Ze
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#16 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANL67LFLGEJQSOC4V3PRDF3UFSXE7ANCNFSM5FMUXE2Q>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Laura, Would you please download the scripts in the R command folder (https://github.com/jcao89757/SCINA/tree/master/R) and try the linux wrapper EM_interface.R? Most of its parameters are the same as the SCINA package, and there is an example linux command in the script comments at the beginning of the code. The linux command can then be called with python using the os package. The 'naive approach' using os.system in this workflow (https://www.section.io/engineering-education/how-to-execute-linux-commands-in-python/) will achieve the function. Please let me know if anything is not clear with the usage of the code and I'll be glad to help with any of your questions. Have a nice weekend! Best regards, Ze |
Hi jcao,
Will there be a Python version of SCINA?
Best,
Laura
The text was updated successfully, but these errors were encountered: