Skip to content

Commit

Permalink
Update github actions with magick
Browse files Browse the repository at this point in the history
  • Loading branch information
fbertran committed Mar 21, 2021
1 parent d2d984d commit 2b7fc83
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 80 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Install XQuartz on macOS
if: runner.os == 'macOS'
run: brew install xquartz --cask
- name: Install ghostscript on macOS
if: runner.os == 'macOS'
run: brew install ghostscript
- name: Install Magick on macOS
if: runner.os == 'macOS'
run: brew install imagemagick
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
Expand Down
69 changes: 35 additions & 34 deletions README.Rmd
Expand Up @@ -56,37 +56,6 @@ The weights are viewed as a penalty factors in the penalized regression model: i



![Infered F matrix of the network (General shape).](docs/reference/figures/README-Fresults-1.png)



![Infered coefficient matrix of the network (General shape).](docs/reference/figures/README-heatresults-1.png)



![Infered F matrix of the network (cascade shape).](docs/reference/figures/README-FresultsLC-1.png)



![Infered coefficient matrix of the network (cascade shape).](docs/reference/figures/README-heatresultsLC-1.png)



![Reverse-engineered network.](docs/reference/figures/README-plotnet2-1.png)



![Evolution of a reverse-engineered network with increasing cut-off values.](docs/reference/animation.gif)



![Plot of simulated data for cascade networks featuring cluster membership.](docs/reference/figures/README-plotsimuldata-1.png)



![Plot of simulated data for cascade networks featuring subject membership.](docs/reference/figures/README-plotsimuldata-2.png)


A word for those that have been using our seminal work, the `Cascade` package that we created several years ago and that was a very efficient network reverse engineering tool for cascade networks
(Jung, N., Bertrand, F., Bahram, S., Vallat, L., and Maumy-Bertrand, M. (2014), <https://doi.org/10.1093/bioinformatics/btt705>, <https://cran.r-project.org/package=Cascade>, <https://github.com/fbertran/Cascade> and <https://fbertran.github.io/Cascade/>).

Expand Down Expand Up @@ -512,12 +481,12 @@ destdir = "~/Github/Patterns/docs/reference/evolution/"
evolution(network,sequence,type.ani = "gif",outdir=destdir)
evolution(network,sequence,type.ani = "html",outdir=destdir)
```
![Evolution as .gif.](docs/reference/evolution/animation.gif)
![Evolution as .gif.](https://fbertran.github.io/Patterns/reference/evolution/animation.gif)

[Evolution as .html.](docs/reference/evolution/index.html)
[Evolution as .html.](https://fbertran.github.io/Patterns/reference/evolution/index.html)

Evolution of some properties of a reverse-engineered network with increasing cut-off values.
![Evolution of some properties of a reverse-engineered network with increasing cut-off values.](docs/reference/compare-methods-1.png)
![Evolution of some properties of a reverse-engineered network with increasing cut-off values.](https://fbertran.github.io/Patterns/reference/compare-methods-1.png)

We switch to data that were derived from the inferrence of a real biological network and try to detect the optimal cutoff value: the best cutoff value for a network to fit a scale free network. The `cutoff` was validated only single group cascade networks (number of actors groups = number of timepoints) and for genes dataset. Instead of the `cutoff` function, manual curation or the stability selection or the selectboost algorithm should be used.

Expand Down Expand Up @@ -598,4 +567,36 @@ This process could be improved by retrieve a real gene_ID using the `bitr` funct



### Examples of outputs

![Infered F matrix of the network (General shape).](https://fbertran.github.io/Patterns/reference/figures/README-Fresults-1.png)



![Infered coefficient matrix of the network (General shape).](https://fbertran.github.io/Patterns/reference/figures/README-heatresults-1.png)



![Infered F matrix of the network (cascade shape).](https://fbertran.github.io/Patterns/reference/figures/README-FresultsLC-1.png)



![Infered coefficient matrix of the network (cascade shape).](https://fbertran.github.io/Patterns/reference/figures/README-heatresultsLC-1.png)



![Reverse-engineered network.](https://fbertran.github.io/Patterns/reference/figures/README-plotnet2-1.png)



![Evolution of a reverse-engineered network with increasing cut-off values.](https://fbertran.github.io/Patterns/reference/evolution/animation.gif)



![Plot of simulated data for cascade networks featuring cluster membership.](https://fbertran.github.io/Patterns/reference/figures/README-plotsimuldata-1.png)



![Plot of simulated data for cascade networks featuring subject membership.](https://fbertran.github.io/Patterns/reference/figures/README-plotsimuldata-2.png)


69 changes: 35 additions & 34 deletions README.md
Expand Up @@ -47,37 +47,6 @@ The weights are viewed as a penalty factors in the penalized regression model: i



![Infered F matrix of the network (General shape).](docs/reference/figures/README-Fresults-1.png)



![Infered coefficient matrix of the network (General shape).](docs/reference/figures/README-heatresults-1.png)



![Infered F matrix of the network (cascade shape).](docs/reference/figures/README-FresultsLC-1.png)



![Infered coefficient matrix of the network (cascade shape).](docs/reference/figures/README-heatresultsLC-1.png)



![Reverse-engineered network.](docs/reference/figures/README-plotnet2-1.png)



![Evolution of a reverse-engineered network with increasing cut-off values.](docs/reference/animation.gif)



![Plot of simulated data for cascade networks featuring cluster membership.](docs/reference/figures/README-plotsimuldata-1.png)



![Plot of simulated data for cascade networks featuring subject membership.](docs/reference/figures/README-plotsimuldata-2.png)


A word for those that have been using our seminal work, the `Cascade` package that we created several years ago and that was a very efficient network reverse engineering tool for cascade networks
(Jung, N., Bertrand, F., Bahram, S., Vallat, L., and Maumy-Bertrand, M. (2014), <https://doi.org/10.1093/bioinformatics/btt705>, <https://cran.r-project.org/package=Cascade>, <https://github.com/fbertran/Cascade> and <https://fbertran.github.io/Cascade/>).

Expand Down Expand Up @@ -1419,12 +1388,12 @@ evolution(network,sequence,type.ani = "html", outdir=getwd())
#> Error in setwd(outdir): impossible de changer de répertoire de travail
#> Error in setwd(outdir): impossible de changer de répertoire de travail
```
![Evolution as .gif.](docs/reference/evolution/animation.gif)
![Evolution as .gif.](https://fbertran.github.io/Patterns/reference/evolution/animation.gif)

[Evolution as .html.](docs/reference/evolution/index.html)
[Evolution as .html.](https://fbertran.github.io/Patterns/reference/evolution/index.html)

Evolution of some properties of a reverse-engineered network with increasing cut-off values.
![Evolution of some properties of a reverse-engineered network with increasing cut-off values.](docs/reference/compare-methods-1.png)
![Evolution of some properties of a reverse-engineered network with increasing cut-off values.](https://fbertran.github.io/Patterns/reference/compare-methods-1.png)

We switch to data that were derived from the inferrence of a real biological network and try to detect the optimal cutoff value: the best cutoff value for a network to fit a scale free network. The `cutoff` was validated only single group cascade networks (number of actors groups = number of timepoints) and for genes dataset. Instead of the `cutoff` function, manual curation or the stability selection or the selectboost algorithm should be used.

Expand Down Expand Up @@ -1736,4 +1705,36 @@ This process could be improved by retrieve a real gene_ID using the `bitr` funct



### Examples of outputs

![Infered F matrix of the network (General shape).](https://fbertran.github.io/Patterns/reference/figures/README-Fresults-1.png)



![Infered coefficient matrix of the network (General shape).](https://fbertran.github.io/Patterns/reference/figures/README-heatresults-1.png)



![Infered F matrix of the network (cascade shape).](https://fbertran.github.io/Patterns/reference/figures/README-FresultsLC-1.png)



![Infered coefficient matrix of the network (cascade shape).](https://fbertran.github.io/Patterns/reference/figures/README-heatresultsLC-1.png)



![Reverse-engineered network.](https://fbertran.github.io/Patterns/reference/figures/README-plotnet2-1.png)



![Evolution of a reverse-engineered network with increasing cut-off values.](https://fbertran.github.io/Patterns/reference/evolution/animation.gif)



![Plot of simulated data for cascade networks featuring cluster membership.](https://fbertran.github.io/Patterns/reference/figures/README-plotsimuldata-1.png)



![Plot of simulated data for cascade networks featuring subject membership.](https://fbertran.github.io/Patterns/reference/figures/README-plotsimuldata-2.png)


26 changes: 15 additions & 11 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Expand Up @@ -4,5 +4,5 @@ pkgdown_sha: ~
articles:
ExampleCLL: ExampleCLL.html
IntroPatterns: IntroPatterns.html
last_built: 2021-03-21T00:17Z
last_built: 2021-03-21T01:04Z

0 comments on commit 2b7fc83

Please sign in to comment.