Skip to content

Instantly share code, notes, and snippets.

@hcorrada
hcorrada / app.R
Created May 12, 2020 14:00
A shiny app to calculate your 320 grade
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
epiviz.Config.SETTINGS.dataProviders.push('epiviz.plugins.data.YahooFinanceDataProvider');
epiviz.Config.SETTINGS.chartCustomSettings['epiviz.plugins.charts.LineTrack'].step = 10;
@hcorrada
hcorrada / gist:f930fa0092f1100f1d37
Created December 18, 2014 15:20
Loading a bed file using epivizr
library(epivizr)
library(rtracklayer)
# download example bed file
download.file("https://raw.githubusercontent.com/arq5x/bedtools/master/data/aluY.hg19.bed.gz", destfile="test.bed.gz", method="curl")
# start UI
mgr <- startEpiviz(workspace="mi9NojjqT1l")
# import bed file
@hcorrada
hcorrada / empty-settings.js
Last active August 29, 2015 14:08
standalone settings
/**
* Created by Florin Chelaru ( florinc [at] umd [dot] edu )
* Date: 10/9/13
* Time: 11:13 AM
*/
/**
* Overrides the default configuration settings for EpiViz
*/
epiviz.EpiViz.SETTINGS = {
/**
* Created by Llewellyn
* User: florin
* Date: 8/2/13
* Time:
* To change this template use File | Settings | File Templates.
*/
ExonExpressionTrack.prototype = new LineTrack();
ExonExpressionTrack.prototype.constructor = ExonExpressionTrack;
/**
*
* User: florin
* Date: 8/2/13
* Time:
* Created by Llewellyn
*/
ExonExpressionTrackHandler.prototype = new TrackTypeHandler({
dataTypeHandler: new ProbeDataHandler(),