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
#!/bin/bash | |
# https://www.howtogeek.com/fyi/enable-dark-mode-in-high-sierra-sort-of/ | |
# https://medium.com/@n1kk/how-to-tweak-macos-mojave-dark-mode-per-app-a5fab0574691 | |
# https://stackoverflow.com/questions/52562383/is-there-a-way-to-toggle-dark-mode-on-off-for-individual-apps-in-macos-mojave | |
defaults write -g NSWindowDarkChocolate -bool TRUE | |
defaults write -g NSRequiresAquaSystemAppearance -bool FALSE | |
defaults write com.google.Chrome NSRequiresAquaSystemAppearance -bool FALSE | |
defaults write com.google.Chrome _NSSystemAppearanceOverride DarkAppearance |
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(ggplot2) | |
library(tidyr) | |
library(dplyr) | |
library(maps) | |
library(gganimate) | |
WorldData <- map_data('world') | |
#WorldData %>% filter(region != "Antarctica") -> WorldData | |
WorldData <- fortify(WorldData) |
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
$ systemctl disable systemd-networkd-wait-online.service | |
$ systemctl mask systemd-networkd-wait-online.service |
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() or require() only load one package at a time | |
# but... | |
Packages <- c("dplyr", "ggplot2", "rstan", "readr") | |
lapply(Packages, library, character.only = TRUE) | |
# this loads as many as you put in 'Packages'. They need to be installed first, of course. |
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
## RNA-seq analysis with DESeq2 | |
## Stephen Turner, @genetics_blog | |
# RNA-seq data from GSE52202 | |
# http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=gse52202. All patients with | |
# ALS, 4 with C9 expansion ("exp"), 4 controls without expansion ("ctl") | |
# Import & pre-process ---------------------------------------------------- | |
# Import data from featureCounts |