Skip to content

Instantly share code, notes, and snippets.

View chilampoon's full-sized avatar
🦈
need more epochs

poonchilam chilampoon

🦈
need more epochs
  • Lenapehoking
View GitHub Profile
@jnpaulson
jnpaulson / gtex.R
Last active November 5, 2019 08:01
library(yarn)
library(dplyr)
library(rafalib)
obj = downloadGTEx()
lowSampleSizes = c("Bladder","Cells - Leukemia cell line (CML)","Cervix - Ectocervix","Cervix - Endocervix","Fallopian Tube")
obj = filterSamples(obj,lowSampleSizes,"SMTSD") %>%
filterMissingGenes
@Jfortin1
Jfortin1 / darken.R
Last active September 2, 2023 20:42
Darken or lighten colors in R
darken <- function(color, factor=1.4){
col <- col2rgb(color)
col <- col/factor
col <- rgb(t(col), maxColorValue=255)
col
}
lighten <- function(color, factor=1.4){
col <- col2rgb(color)
@digitaljhelms
digitaljhelms / gist:4287848
Last active July 5, 2024 16:30
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch