Giter Site home page Giter Site logo

rtoolbox's Introduction

Rtoolbox

Toolbox with R scripts (mostly bioinformatic; see below).

Installation R-package:

After installing the required tools as described above you can download the pre-compiled Rtoolbox R-package. The package can be installed from the command line using the following command:

$ R CMD INSTALL Rtoolbox_*.tar.gz

Rtoolbox usage:

Load the Rtoolbox package in R using:

> library("Rtoolbox")

Rtoolbox contains the following functions:

replotGSEA

replotGSEA re-plots data from the javaGSEA desktop version in R. The function takes three arguments: path, the path to the javaGSEA output folder; gene.set, which is the name of the gene set you want to plot (note: approximate matching is used in a grep-function to determine the appropriate gene set); and class.name, which is the name of the variable to which gene expression has been matched (i.e., the description of the variable that is specified in the .cls file or that is used to pre-rank the data; example: "drug treatment").

Example replotGSEA

For the example of the output of replotGSEA, the following command was used:

replotGSEA(path = path, gene.set = gene.set, class.name = class.name)

replotGSEA

OverviewPlot

OverviewPlot will create color-based plots of segmentation values as found in the provided DNAcopy object. The heatmap plotting function has three optional arguments: samples, range.CNA, and color.palette. The samples argument can be used to specify which samples need to be included in the plotting. The range.CNA range specifies the range of values that will be plotted; segmentation values outside of this range are capped to either the minimum or the maximum of range.CNA. The color.palette argument can be used to customize the colors used for plotting.

Example OverviewPlot

For the example of the output of OverviewPlot, the following command was used:

OverviewPlot(DNAcopy.object, unique(DNAcopy.object$output$ID)[1:2], range.CNA = c(-1,1))

replotGSEA

rtoolbox's People

Contributors

peeperlab2 avatar

Watchers

James Cloos avatar

Forkers

spacecraft233

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.