This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#titleBlock { | |
background-color: rgb(26, 188, 156); | |
width: 100%; | |
height: 250px; | |
padding: 15px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ brew --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew.git | |
HEAD: cdec40e4cab0768084c92d9732295a7e337c39be | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: dual-core 64-bit penryn | |
OS X: 10.9.2-x86_64 | |
Xcode: 5.1.1 | |
CLT: 5.1.0.0.1.1396320587 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checking build system type... x86_64-apple-darwin13.1.0 | |
checking host system type... x86_64-apple-darwin13.1.0 | |
loading site script './config.site' | |
loading build-specific script './config.site' | |
checking for pwd... /bin/pwd | |
checking whether builddir is srcdir... yes | |
checking for working aclocal... found | |
checking for working autoconf... missing | |
checking for working automake... found | |
checking for working autoheader... missing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var filePath = process.argv[2]; | |
console.log(filePath); | |
fs.readFile(filePath, function (err, data) { | |
if (err) { | |
return console.log(err); | |
} | |
var newFilePath = filePath.replace(/asc/g, 'csv'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b = a; #original image | |
[L W] = size(a); % get dimensions of matrix | |
% define bin factor | |
BinW = 8; | |
BinL = 8; | |
% chaning the size of matrix b, to binL by ?? then adding 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple ggplot2 heatmap | |
# with colorBrewer "spectral" palette | |
doInstall <- FALSE # Change to FALSE if you don't want packages installed. | |
toInstall <- c("ggplot2", "reshape2", "RColorBrewer") | |
if(doInstall){install.packages(toInstall, repos = "http://cran.us.r-project.org")} | |
lapply(toInstall, library, character.only = TRUE) | |
require('rje') | |
require('reshape2') | |
# Generate a random matrix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library('beanplot') | |
//load CSV data into data frame | |
df <- data.frame(read.csv('./data/Max_Width.csv')) | |
//beanplot amplitude column, add colours, add labels | |
beanplot(df$Peak.Amplitude..nA., | |
col=c('#bdc3c7','#1abc9c','#1abc9c'), | |
show.names= TRUE, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> div {background-color: #e0e0e0}</style> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library('colorout') | |
setOutputColors256(normal = 70, number = 56, negnum = 56, date = 56, string = 179, const = 202, verbose = FALSE) | |
library('dplyr') | |
library('ggplot2') | |
options(repos=structure(c(CRAN='http://cran.ma.imperial.ac.uk/'))) |
OlderNewer