Comments (1)
Here is my solution after working out a few trial and error.
I was able to install mofapy
, MOFAv1
and MOFAv2
in my R Studio session server. However, there are multiple python binaries in the server and I also have installed quite a few.
Hence, I had to get back to a few people for solutions. @rargelaguet and dfermin inputs were very beneficial. However, our local our server manager who remotely monitors asked me to use the correct path of pip
under my miniconda and install mofapy. Voila, this did the trick.
Leaving a detailed description below for others if they meet the same issue.
Command used: /home/vvda/.local/share/r-miniconda/envs/mofa_env/bin/pip install mofapy --user
Installed the mofapy in correct conda environment: /home/vvda/.local/share/r-miniconda/envs/mofa_env/lib/python3.8/site-packages/mofapy
Restarted the R Studio Session
in the server
library(reticulate)
use_python("/home/vvda/.local/share/r-miniconda/envs/mofa_env/bin/python3", required = TRUE)
py_config()
library(MOFA)
library(MOFAdata)
py_config()
python: /home/vvda/.local/share/r-miniconda/envs/mofa_env/bin/python3
libpython: /home/vvda/.local/share/r-miniconda/envs/mofa_env/lib/libpython3.8.so
pythonhome: /home/vvda/.local/share/r-miniconda/envs/mofa_env:/home/vvda/.local/share/r-miniconda/envs/mofa_env
version: 3.8.2 (default, Mar 26 2020, 15:53:00) [GCC 7.3.0]
numpy: /home/vvda/.local/share/r-miniconda/envs/mofa_env/lib/python3.8/site-packages/numpy
numpy_version: 1.18.2
NOTE: Python version was forced by use_python function
Thanks, everyone for helping me diagnose these past 2 days.
Kind regards,
VD
from mofa.
Related Issues (20)
- AttributeError: module 'mofapy' has no attribute 'core.entry_point' HOT 4
- Documentation missmatch for getDefaultModelOptions()$numFactors HOT 1
- plotDataHeatmap() error with correlation but not with euclidean distance HOT 2
- MOFA2: IndexError: list index out of range HOT 1
- Question on initialization HOT 2
- Error in py_call_impl(callable, dots$args, dots$keywords) : AttributeError: 'NoneType' object has no attribute 'getExpectations' HOT 1
- Failure to Capture Common Sources of Variance in Data HOT 1
- error message: mofapy package not found. HOT 2
- AssertionError: dimensionality mismatch HOT 1
- Different data processing on metabolomics, I get different R2. HOT 7
- Thanks. another problem on running MOFA
- Problem to use mofaOBJECT HOT 2
- Problem to use plotVarianceExplained object in ggplot2
- Error in py_call_impl(callable, dots$args, dots$keywords) : UnicodeEncodeError: 'ascii' codec can't encode character '\u03b5' in position 5: ordinal not in range(128)
- predict function should use S3 dispatching
- 'MOFAtools'
- Archive this repo
- Vignette html flies not accessible
- No gene is appearing in plot_enrichment_detailed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mofa.