Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • a78cb8f
  • /
  • server.R
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:49024fd0e15cde39341376dcf6e161c5a43f88fa
directory badge
swh:1:dir:a78cb8f1c0fca114d6fc7fcdcf6659545570da1b

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
server.R
### Author: Franck Soubès
### Bioinformatics Master Degree - University of Bordeaux, France
### Link: https://github.com/GeT-TRiX/MA_Trix_App/
### Where: GET-TRiX's facility
### Application: MATRiX is a shiny application for Mining and functional Analysis of TRanscriptomics data
### Licence: GPL-3.0



shinyServer(function(input, output,session) {

  #######################################################
  ##                                                   ##
  ##                    LOAD FILES                     ##
  ##                                                   ##
  #######################################################

  csvf <- callModule(csvFile, "datafile",stringsAsFactors = FALSE) #  Module for importing data


  ##########################################
  ######## Widget update and info         ##
  ##########################################

  source(file.path("server", "Utilities.R"), local = TRUE)$value # Utilities method (packages citations, fc step, zipdownload and panel redirection and project name)

  ##########################################
  ######## HOME page                      ##
  ##########################################

  source(file.path("server", "Datasummary.R"), local = TRUE)$value # Reactive function that return the indexes for the signficant genes
  source(file.path("server", "Rendertable.R"), local = TRUE)$value #  All the output csv except for the heatmap page that are in heatmapshiny source

  ##########################################
  ######## Volcano page                   ##
  ##########################################

  source(file.path("server", "Volcanoshiny.R"), local = TRUE)$value # Volcano plot

  ################################
  ######## PCA page             ##
  ################################

  source(file.path("server", "PCAshiny.R"), local = TRUE)$value # PCA plot function
  source(file.path("server", "PCAselgroup.R"), local = TRUE)$value # all parameters for pca plot and more

  ################################
  ######## Venn page            ##
  ################################

  source(file.path("server", "Venn.R"), local = TRUE)$value # Generate the vennlist and select the contrasts and send them to Jvenn
  source(file.path("server", "Venninter.R"), local = TRUE)$value # Selected intersection Venn mean and barplot from the data table with the export. TODO remove not valuable info
  source(file.path("server", "Trackervenn.R"), local = TRUE)$value # Tracker for Venn

  ################################
  ######## Venn GO              ##
  ################################

  source(file.path("server", "Vennquery.R"), local = TRUE)$value # Venn query DAVID

  ################################
  ######## Heatmap page         ##
  ################################
  
  source(file.path("server", "Checkboxhm.R"), local = TRUE)$value # Heatmap function for select specific groups
  source(file.path("server", "Changeheatmbut.R"), local = TRUE)$value # Change the heatmap button color
  source(file.path("server", "Hidevent.R"), local = TRUE)$value # Hide parameters such as number of clusters ... and tooltip for dist
  source(file.path("server", "Heatmapshiny.R"), local = TRUE)$value # Generate the heatmap
  source(file.path("server", "Trackerhm.R"), local = TRUE)$value # Tracker for heatmap parameters
  source(file.path("server", "GetDEgenes.R"), local = TRUE)$value # Subset dataframe restable (stat, comp and deg to list of dataframes)
  source(file.path("server", "Backgroundcolor.R"), local = TRUE)$value # Background color for the heatmap

  ##########################################
  ######## GO enrichissment               ##
  ##########################################

  source(file.path("server", "Shinygohm.R"), local = TRUE)$value # functional analysis by querying DAVID web service
  source(file.path("server", "Highchartshiny.R"), local = TRUE)$value # Convert output david table to json and send it to bubble.js

  ################################
  ######## cutheatmap page      ##
  ################################

  source(file.path("server", "Cutheatmap.R"), local = TRUE)$value # Generation of boxplot

  ##########################################
  ######## Contact chat                   ##
  ##########################################

  source(file.path("server", "Shinychat.R"), local = TRUE)$value # Chat for the app associated with the file Chat.rds
  source(file.path("server", "Groupstripshiny.R"), local = TRUE)$value # Utilities method (packages citations, fc step, zipdownload and panel redirection and project name)
  

})

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API