Coder Social home page Coder Social logo

gscluster's Introduction

GScluster is a standalone Shiny/R package for network-weighted gene-set clustering and network visualization.

Installation

Open R program and type following commands in R console.

install.packages('devtools')
library(devtools)
install_github('unistbig/GScluster')
library(GScluster)

Example Run

To run demo file, please type following R code.

GScluster()

To run user's own data, please modify following example R codes.

  1. Read gene-set analysis result table.

GSAresult=read.delim('https://github.com/unistbig/GScluster/raw/master/sample_geneset.txt', stringsAsFactors=FALSE)

  1. Read gene score table.

GeneScores=read.delim('https://github.com/unistbig/GScluster/raw/master/sample_genescore.txt', header=F)

  1. Run GScluster

GScluster(GSAresult = GSAresult, GeneScores = GeneScores, Species = 'H', alpha = 1, GsQCutoff = 0.25, GQCutoff = 0.05)

User's Manual

User's manual is available here.

Example data download


Running time of GScluster is shown below for different numbers of input gene-sets.


Contact: Dougu Nam ([email protected])
Any feedback or comments are greatly appreciated!!

gscluster's People

Contributors

jhk0530 avatar ysora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gscluster's Issues

Error in buildNode

Hello,

I've been trying to run the GScluster function and had been running up against an error. Finally, I tried just running the sample code and got the same error, so I'm wondering what I can do to troubleshoot:

`data=GetGSASNP2Data(filename='https://github.com/unistbig/GScluster/raw/master/inst/GScluster/GSASNP2_DIAGRAM.txt')
GSAresult = data$GSAresult
GeneScores = data$GeneScores
GScluster(GSAresult = GSAresult, GeneScores = GeneScores, Species = 'H', alpha = 1, GsQCutoff = 0.25, GQCutoff = 0.05)
[1] "PPI table is not given, STRING data is used."

Listening on http://127.0.0.1:7313
Warning: Error in buildNode: id must be string
53: stop
52: buildNode
51: RenderGeneSetNetwork [/usr/local/lib/R/3.6/site-library/GScluster/GScluster/app.R#1262]
50: server [/usr/local/lib/R/3.6/site-library/GScluster/GScluster/app.R#1289]
Error in buildNode(id = nodes[i, 1], bgColor = nodes[i, 3], labelColor = "black", :
id must be string`

Any input would be really appreciated.

Thanks,
Jim

Error from shinyjs

Hi, I'm getting the following error from running the demo, as well as the example data:

> GScluster()
[1] "run example data"
[1] "PPI table is not given, STRING data is used."
Loading required package: Matrix
Error: shinyjs: extendShinyjs: `functions` argument must be provided. 

I just installed shinyjs, maybe it is a version issue or something? Here's part of my sessionInfo:

other attached packages:
 [1] Matrix_1.2-18         shinyCyJS_0.0.9       GScluster_1.1.9       V8_3.2.0              wordcloud2_0.2.1     
 [6] tm_0.7-7              NLP_0.2-0             shinyWidgets_0.5.3    shinyjs_2.0.0         shinydashboard_0.7.1 
[11] shinycssloaders_1.0.0 shiny_1.5.0           igraph_1.2.5          htmlwidgets_1.5.2     DT_0.15

thanks!

Error In Installation

Hi,
I am getting an error while I am trying to install GScluster.
I am following the instruction by running "remotes::install_github('unistbig/GScluster')".
Following is the error.
Error: (converted from warning) package 'DT' was built under R version 4.0.3
Execution halted
ERROR: lazy loading failed for package 'GScluster'
Can you please help on this?
Also is it possible to upload the tar file so that I can try installing it from source?

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.