Giter VIP home page Giter VIP logo

tcc-gui's Introduction

📊 TCC-GUI: Graphical User Interface for TCC package

last commit license citations

TCC1 is a R/Bioconductor package provides a series of functions for performing differential expression (DE) analysis from RNA-seq count data using a robust normalization strategy (called DEGES).

The basic idea of DEGES is that potential differentially expressed genes (DEGs) among compared samples should be removed before data normalization to obtain a well-ranked gene list where true DEGs are top-ranked and non-DEGs are bottom ranked. This can be done by performing the multi-step normalization procedures based on DEGES (DEG elimination strategy) implemented in TCC.

TCC internally uses functions provided by edgeR2, DESeq23, and baySeq4 . The multi-step normalization of TCC can be done by using functions in the four packages.

In this GUI version of TCC (TCC-GUI), all parameter settings are available just like you are using the original one. Besides, it also provides lots of plotting functions where the original package is unsupported now.

Tips: Development is now undergoing, some functions and features may be changed in the final version.

📈 Features

Simulation Data Generation Exploratory Analysis
Simulation Data Generation Exploratory Analysis
TCC Computation
MA Plot Generation
TCC Computation MA Plot Generation
Volcano Plot Generation
Heatmap Generation
Volcano Plot Generation Heatmap Generation
Expression Level Plot Generation
Report Generation
Expression Level Plot Generation Report Generation

📔 Usage

Online version

Access TCC-GUI hosted by shinyapps.io. Due to the limitations of the free version of shinyapps, you may not be able to use the tool in some cases, in which case you may consider downloading the source code and launch the tool in a your machine (see below).

Standalone version

If you are familiar with git, Method 1 is highly recommended.

Method 1

  1. Use the command below to clone the source code to your local directory. We assume you already know how to clone a project using Git from the command line, if not please refer to Git Basics - Getting a Git Repository.

    git clone https://github.com/swsoyee/TCC-GUI.git ~/Desktop/TCC-GUI
  2. When you open this project (just double click TCC-GUI.Rproj) in R at first time, the following message will be print in console, and the package renv will be install automatically (if not, please install renv manually or create a issue for help). Next, use renv::restore() to install all other packages which are needed.

    # Bootstrapping renv 0.17.0 --------------------------------------------------
    * Downloading renv 0.17.0 ... OK (downloaded binary)
    * Installing renv 0.17.0 ... Done!
    * Successfully installed and loaded renv 0.17.0.
    Installing BiocManager [1.30.20] ...
    	OK [linked cache in 0.36 milliseconds]
    * Installed 1 package in 9 milliseconds.
    * Project '~/Desktop/TCC-GUI' loaded. [renv 0.17.0]
    * One or more packages recorded in the lockfile are not installed.
    * Use `renv::status()` for more details.
    > renv::restore()
    The following package(s) will be updated:
    ...
  3. If you are using RStudio, just open the ui.R, server.R or global.R in TCC-GUI directory, and click the Run App button to launch the application. Or use the commend below to complete the same thing.

    shiny::runApp(appDir = "TCC-GUI")

For more information, please refer to the wiki.

Method 2

  1. Click Code button on the top of this page, then click Download ZIP;

  2. Unzip the file to your working directory;

  3. Double click TCC-GUI.Rproj to open the project;

  4. Make sure the renv package is install automatically (also see Method 1 step 2);

  5. Run the code to launch the application (according to your structure of working directory it may be different).

    # install packages by using renv
    renv::restore()
    
    # run the command and launch the application
    shiny::runApp(appDir = "TCC-GUI")

    If you are using RStudio, there will be a Run App button in the souce code file panel when you open file ui.R, server.R or global.R. Click the button and TCC-GUI will be launched.

If the above method still does not work, please try the old version installation method below or feel free to contact us.

Old Installation Method

Pre-installation

Make sure that you have already installed those packages in your environment.

shiny, shinydashboard, shinyWidgets, plotly, dplyr, TCC, DT, heatmaply, markdown, rmarkdown, data.table, tidyr, RColorBrewer, utils, knitr, cluster, shinycssloaders, shinyBS, renv, MASS.

If any package is missing, Please run the following command in your RStudio and it will install all packages automatically.

# Check "BiocManager"
if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

# Package list
libs <- c("shiny", "shinydashboard", "shinyWidgets", "plotly", "dplyr", "DT", "heatmaply", "tidyr","utils","rmarkdown","data.table","RColorBrewer", "knitr", "cluster", "shinycssloaders", "shinyBS", "renv", "MASS", "TCC")

# Install packages if missing
for (i in libs){
  if( !is.element(i, .packages(all.available = TRUE)) ) {
     BiocManager::install(i, suppressUpdates=TRUE)
  }
}

Start the App

Run the following command to launch TCC-GUI in your local environment, then it will download TCC-GUI automatically from github and launch.

Method 1
shiny::runGitHub("TCC-GUI", "swsoyee", subdir = "TCC-GUI", launch.browser = TRUE)

This method always download the source code from github before launching, so maybe you can try to download all the source code by yourself and launch it.

Method 2
  1. Click Clone or download button on the top of this page, then click Download ZIP;
  2. Unzip the file to your working directory (use getwd() to know your working directory);
  3. Run the code of launching (according to your structure of working directory it may be different).
shiny::runApp("TCC-GUI", launch.browser = TRUE)

If you have any question about TCC-GUI, simply create a issue for help (prefer) or send E-mail to us. We will answer your question as soon as possible.

📕 Publication

If you have use TCC-GUI in your work, please cite the original paper and consider to give this repository a ⭐Star!

TCC-GUI: a Shiny-based application for differential expression analysis of RNA-Seq count data
Wei Su, Jianqiang Sun, Kentaro Shimizu and Koji Kadota
BMC Research Notes 2019 12:133
https://doi.org/10.1186/s13104-019-4179-2 | © The Author(s) 2019
Received: 14 January 2019 | Accepted: 11 March 2019 | Published: 13 March 2019

📚 References

  1. Sun J, Nishiyama T, Shimizu K, et al. TCC: an R package for comparing tag count data with robust normalization strategies. BMC bioinformatics, 2013, 14(1): 219.
  2. Robinson M D, McCarthy D J, Smyth G K. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics, 2010, 26(1): 139-140.
  3. Love M I, Huber W, Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome biology, 2014, 15(12): 550.
  4. Hardcastle T J, Kelly K A. baySeq : empirical Bayesian methods for identifying differential expression in sequence count data. BMC bioinformatics, 2010, 11(1): 422.

Code of Conduct

Please note that the TCC-GUI project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

tcc-gui's People

Contributors

daaaaande avatar swsoyee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tcc-gui's Issues

heatmap

“By list and By FDR.“ 这里是or吧

simulation data

group parameters部分,三个框体如果是小屏幕,就是正常的24寸?第一个框体因为左边文字太长,所以不能对齐。这个问题我也不知道怎么办2333

Could not restore the "renv"

Describe the bug

I tried to restore "renv" but, the error code showed up and I could not proceed. I also tried to install "genefilter" with install packages("genefilter"), but even after that I could not restore with same error. I appreciate if you could help me to solve this problem. Thanks,

R was unable to find the gfortran binary.
gfortran is required for the compilation of FORTRAN source files.
Please check that gfortran is installed and available on the PATH.
Please see https://stackoverflow.com/q/35999874 for more information.

Reason(s):

  • 'make: gfortran: No such file or directory'
    エラー: install of package 'genefilter' failed

Error in get_quosure

Using standalone version of TCC-GUI browser, after clicking "2. Assign Group Label", the browser is suddenly shut down and there appears the error message like following

警告: Error in get_quosure: 関数 "get_quosure" を見つけることができませんでした
73: renderMenu
72: observeEventHandler [server-tabPanel.R#6]
1: runApp

Even if I used simulation data, the situation was the same.
However, using online version browser, I can proceed the analysis without any error.
I have followed the instruction of Method 1 as you described in the GitHub.
I also have installed all the packages required.
Do I need install other package?

To Reproduce
Steps to reproduce the behavior:

  1. Open R Studio and open the ui.R, server.R or global.R in TCC-GUI directory, and click the Run App button to launch the application.
  2. Click on 'Simulation data' and click on "Generate Simulation data" and create data successfully.
  3. Click on "Exploratory analysis" and choose the simulation data followed by clicking "1. Import Count Data".
  4. Scroll down to the group assignment and click the "2. Assign Group Label".
  5. Error happen. The browser is shut down and the message described above appear in the Console.

I have no idea what is expected to happen.

Desktop

  • OS is Windows 10
  • Browser is chrome
  • Version 88.0.4324.150

Would you please give me some advices? Thank you.

inputファイルの低発現遺伝子のフィルタリングについて

お世話になっております。

素人質問になるのですが、インプットするTPMテーブルの数値0の遺伝子は、予め除去したほうが有意なDEG出力につながるのでしょうか。TPMは、salmonでの出力になります。

よろしくお願い致します。

volcano plotのcut offで絞り込んだ遺伝子リストについて

お世話になっております。

#42
以前こちらのページで対応していただきました。volcano plotのcut offで絞り込んだ遺伝子だけのテーブルがほしいのですが、どうすれば良いでしょうか。そのような機能はありませんか。

よろしくお願い致します。

Tableの拡張機能願い

テーブルデータをコピーアンドペーストで取ろうと思っていましたが、列の制限があるみたいです。(範囲選択中にスクロールすると数値が更新されてしまいます。

volcano plotのPDFの出力で約100列の出力となっておりますが、例えば500列ほどに出力できる拡張機能を搭載していただけないでしょうか。

どうぞよろしくお願い致します。

calculation

  • TCC parameters
    每个parameter最好添加parameter的help信息

  • Result table
    每一列是代表什么意思

  • Sample Distribution
    row count的纵轴标题是log2(CPM)而normalized的纵轴标题是log2CPM,不一致,要修改

  • TCC calculation Code
    Update needed.

Bugs in volcano plot tab

问题1

在Volcano Plot页面,生成了一次图形后,点击列表中的基因(意图把目的基因标注在图形上),再次生成Volcano Plot,鼠标Hover在某个基因点上后大概率发生崩溃

真正原因在于even_data(plotly_hover)通过pointNumber来标记不具有可靠性。

问题2

Volcano Plot页面的Hover Text部分的Gene ID无法显示。

修正

20180702 原因是even_data(plotly_hover)部分出现错误,利用pointNumber来标记不具有可靠性,因此添加了key后,hover数据对应后,崩溃的bug排除。

20180703 修正Gene ID无法显示问题,其实是变量名称和MA Plot混用所导致,犹豫Hover info这个选项其实没用,在此把MA Plot和Volcano Plot的Hover info选线都废除。

Add R code output

  • TCC Computation
  • MA Plot
  • Volcano Plot
  • PCA Analysis
    • 3D
    • 2D
    • Dendrogram
    • Scree Plot
  • Heatmap Plot
  • Expression

侧边栏

侧边栏全点开之后超过copyright咯

Without replicates option

If tag count data without replicates in two group comparison, test.method="edger" should not be selectable.

Complete [Parameters log]

  • Click Sidebar tab
  • Click load sample date
  • Upload Data
  • Confirmed group list
  • TCC parameters changes
  • Click Run TCC
  • MA Plot parameters changes
  • Volcano Plot parameters changes
    ...

Disconnected from the Server

I am tryining to run your pipeline on a custom dataset but once I get to the TCC it keeps disconnecting from the server?
I get a message "disconnected from the server reload"

This also happens with a smaller simulated dataset, what could be the problem?

wordのReport Generationのフリーズについて

Describe the bug
Report Generationでwordを選択した後に出力するとフリーズします。
また、htmlで出力した時に、volcano plotのtable出力ができていないような気がします。

確認をしていただけないでしょうか。よろしくお願い致します。

Desktop (please complete the following information):

  • OS: [windows10]
  • Browser [chrome, Rからローカル起動]

首页

这一句“The basic idea of DEGES is that potential differentially expressed...”太长了,如果可以的话,拆分一下。

“Generalization of Simulation data”后面和句号之间有一个空格

分割线把前一个标题下的内容和下一个标题分割到了一起,要么把当前的标题和内容放在同一个分割线,如果要突出标题,把标题上下都加分割线

PCA

这部分的图没有啥描述的吗?

data import

Read count table
还是觉得给看前几列没什么必要,如果只是看下数据有没有问题,那也没必要标红,前几列标红说明数值高也表现不出什么。

  • Group selection
    最好能识别除了123之外的分组信息吧

Sampl distribution
如果有几十个样本,这边是怎么处理的?自动变得每一条都很细应该也可以。

Cannot run

Cannot start TCC-GUI

Steps to reproduce the behavior:

  1. install all package as mentioned
  2. Run shiny::runApp("TCC-GUI-master//TCC-GUI", launch.browser = TRUE)

Listening on http://127.0.0.1:5541
Warning in readLines(file, warn = FALSE) :
invalid input found on input connection 'server-simulation.R'
Warning: Error in source: server-simulation.R:108:9: unexpected INCOMPLETE_STRING
107: input$simulationGeneNum,
108: "
^
50: source
49: server [/home/pradyumna/tools/Prady/TCCGUI/TCC-GUI/TCC-GUI/server.R#58]
Error in source(file = "server-simulation.R", local = TRUE, encoding = "UTF-8") :
server-simulation.R:108:9: unexpected INCOMPLETE_STRING
107: input$simulationGeneNum,
108: "

Screenshot from 2019-12-20 00-03-54

  • OS: Arch Linux
  • Browser chrome
  • R Version 3.6.2

Heatmapなどで色を自由に変えられるようにしたい

2018/11/09

色パネルを追加しました。
PiYG
PRGn
BrBG
PuOr
RdGy
RdBu
RdYlBu
RdYlGn
Spectral
coolwarm
以上の十種類を追加し、Select the number of colors to be in the paletteと一緒に設定するとHeatmapの色を変えることができます。

Heatmap

select gene
数据量大的时候FDR跑不动,建议去掉全是0的数据再跑

Expression

Expression页面是不是也要加载list,好像数据多了也加载不出来

heat mapで出力したTableでgene_idが表示されない

Describe the bug
heat mapで出力したTableでgene_idが表示されません。

Dclre1b-204
1810055G02Rik-202
Zbtb21-202
Man2c1-213

例えば、gene_idの表記がこのように4つある場合「1810055G02Rik-202」のみがTableに表示されます。残り3つのgene_idは、Tableで表示されませんでした。

よろしくお願いいたします。

data import

box plot和density plot两个框体两边没有和read count table对齐,这两个外面是套了个column吧,换成tagList?

log是不是要大写来着

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.