Skip to content

Instantly share code, notes, and snippets.

View sinarueeger's full-sized avatar

Sina Rüeger sinarueeger

View GitHub Profile
@sinarueeger
sinarueeger / 1-user-2019.md
Last active July 17, 2019 14:09
Notes + examples from useR!2019
@sinarueeger
sinarueeger / new-features.md
Last active May 11, 2019 14:24
overview of current rsnps functions
## /////////////////////////////////
## satRday Paris notes
## (untidy)
## /////////////////////////////////
## Lionel Henry: Programming in the tidyverse
## tidyverse (data analysis, data manipulation, data cleaning) <----> r-lib (production prgramming)
## dplyr, ggplot2, tidyr <----> vctrs, rland, devtools
## reprocibillity by few users <----> reusability by many users
@sinarueeger
sinarueeger / schur-complement-example.R
Created December 21, 2018 23:29
Schur complement example
## Schur complement
@sinarueeger
sinarueeger / icon_xelatex.Rmd
Created October 3, 2018 07:34
skimr works with xelatex, but icon package won't
---
title: "icons"
output:
pdf_document:
toc: true
latex_engine: pdflatex
dev: cairo_pdf
monofont: Menlo
---
@sinarueeger
sinarueeger / bitmap.R
Created August 19, 2018 20:39 — forked from emitanaka/bitmap.R
Making the Rladies Sydney Bitmap Animation
library(readbitmap)
library(gganimate)
library(dplyr)
library(ggplot2)
b1 <- read.bitmap("~/Documents/rladies.png")
b2 <- read.bitmap("~/Documents/sydney.png")
x1 <- 1 - b1[,,1]
x2 <- 1 - b2[,,1]
# plot(raster::raster(x1)) # check
# plot(raster::raster(x2)) # check
@sinarueeger
sinarueeger / biomart-snippets.Rmd
Last active July 27, 2018 09:58
Code snippets for R-package biomaRt.
Here are some extra (unpolished) code snippets for the R-package `biomaRt` that came up during the writing of the [blogpost](https://sinarueeger.github.io/content/post/2018-07-27-GWAS-annotation).
## Extract all SNPs for a particular genomic region
```{r, get-snp-info-pos-chr, include = TRUE, cache=TRUE, eval=FALSE}
library(biomaRt)
## select mart
snpmart = useMart(biomart = "ENSEMBL_MART_SNP", dataset="hsapiens_snp")
@sinarueeger
sinarueeger / streaming-recording-webinars.md
Last active July 2, 2018 13:41
How connect with remote people via livestream, recordings or webinars.

Streaming, recording, webinars

Below are instructions how to get streaming, recording or webinars working.

Setup livestream

Livestreaming of a meetup is a great opportunity for people who cannot be present otherwise (e.g. other responsibilities or because they are located elsewhere). However, unless expensive technical equipment is used and lots of social media interaction happens, the quality of a livestream will not replace the actual physical meetup experience.

@sinarueeger
sinarueeger / keybase.md
Created April 6, 2018 13:23
keybase.md

Keybase proof

I hereby claim:

  • I am sinarueeger on github.
  • I am sinarueeger (https://keybase.io/sinarueeger) on keybase.
  • I have a public key ASCtlOlKL1ZrEZvqfhqahEU4CXvSGXcV7K45RJUytntxoAo

To claim this, I am signing this object:

@sinarueeger
sinarueeger / getstarted-github.md
Last active March 28, 2018 08:19
Ressources to learn git

Ressources to learn git

This is a small compilation of links to get started and familiar with git, github, command-line and R.

  • Learn git with exercises and a console in a browser: try.github.io >> does not take long and is fun.

  • Happy git with R is a great manual to learn git for RStudio, includes tipps and tricks and more ressources.

  • SOS for git along the line oh shit, I did so and so, how can I make it right again?: ohshitgit.com.