Comments (9)
Hi @dpryan79,
I backported this to Bioc 3.13, OmnipathR 3.0.1 has been propagated already for Linux and OSX, hopefully it will be updated also for Windows soon: http://bioconductor.org/packages/3.13/bioc/html/OmnipathR.html
Best,
Denes
from omnipathr.
You are right, now in 3.0.4
and 3.1.4
I made the options set before package loading to be preserved. These changes will be in BioC 3.13 and 3.14 hopefully soon.
from omnipathr.
Hi,
That's a good point. One solution could be if you create a config file at <user_config_path>/OmnipathR/omnipathr.yml
with the content:
default
omnipath.logfile: /dev/null
Alternatively, I can add an option to disable logging, which could be set from the config file or by an environment variable. Let me know if you prefer this.
Best,
Denes
from omnipathr.
An option would probably be easiest :)
from omnipathr.
Hi @dpryan79,
Since 38757b4 if you set the parameter omnipath.logfile
to none
, the logging to file is disabled. In the config file it looks like this:
default
omnipath.logfile: none
Alternatively, the parameter can be set by an environment variable:
$ export OMNIPATH_LOGFILE="none"
$ R
> library(OmnipathR)
>
I hope this helps. This is currently here in our git repo, in version 3.1.2
. I am wondering if there is a way to backport it to Bioc 3.13?
Best,
Denes
from omnipathr.
Awesome, thanks!
from omnipathr.
You should be able to post a bugfix update to the current bioconductor release. You'll need to bump the version to 3.0.1. Other than that I don't really know how the Bioconductor release process works.
from omnipathr.
I am not quite sure what the use of omnipath.logfile
is: it does not seem to be useful to suppress creation of the logfile, supposedly because OmnipathR
overwrites that option on first load and immediately creates the log file. See here:
options(omnipath.logfile='none')
getOption('omnipath.logfile')
[1] "none"
OmnipathR:::omnipath_has_logfile()
[1] TRUE
getOption('omnipath.logfile')
NULL
I found export OMNIPATH_LOGFILE="none"
very useful, but I wonder how I can suppress creation of the log file from within R
.
Sys.setenv(OMNIPATH_LOGFILE = 'none')
OmnipathR:::omnipath_has_logfile()
works ;)
from omnipathr.
Thanks, confirmed!
from omnipathr.
Related Issues (20)
- error in 'map()' OmniPathR HOT 2
- Import Dorothea interactions not working HOT 3
- Building NicheNet PK with error HOT 1
- OmniPath Interactions Sources HOT 1
- object ‘homologene_download’ is not exported by 'namespace:OmnipathR' HOT 1
- OmnipathR import functions mutate error HOT 1
- Collectri not found HOT 1
- Error in get_dorothea HOT 6
- OmnipathR.rdb' is corrupt HOT 2
- error in dplyr mutate function within get dorothea during omnipath HOT 3
- error in homology_translate HOT 1
- Wrong version packages HOT 1
- Omnipath database HOT 1
- genes lost in orthology_translate_column HOT 3
- How to get data on the interactions of all receptor ligands? HOT 4
- Vinayagam et al. suppl: download fails from sciencemag due to lack of cookie
- How to get information about downstream target genes of ligands and receptors in cell interactions? HOT 2
- Unable to install LIANA because of omnipathr dependency HOT 2
- Error in retrieving interactions from Omnipath HOT 5
- Error Installing OmnipathR when trying to install liana HOT 1
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 omnipathr.