Skip to content

Instantly share code, notes, and snippets.

View klprint's full-sized avatar

Kevin klprint

View GitHub Profile

Keybase proof

I hereby claim:

  • I am klprint on github.
  • I am subfish (https://keybase.io/subfish) on keybase.
  • I have a public key ASB7mGynrtArFJP7l3XxhFVDHk4Yxr5JqkMl_9mFEjPVMwo

To claim this, I am signing this object:

library(hdf5r)
library(Matrix)
source("https://gist.githubusercontent.com/klprint/1ab4468eb3c54abcf0422dec6223b8fc/raw/b4cc33f5b4da25bcc2e678cf46b692fe67605460/single_cell_functions.R")
library(SingleCellExperiment)
library(tidyverse)
sce.raw.pca <- function(sce, k = 100){
umi <- assay(sce, "umi")
cat("Getting informative genes\n")
library(hdf5r)
library(Matrix)
source("https://gist.githubusercontent.com/klprint/1ab4468eb3c54abcf0422dec6223b8fc/raw/b4cc33f5b4da25bcc2e678cf46b692fe67605460/single_cell_functions.R")
library(SingleCellExperiment)
library(tidyverse)
library(liger)
sce.raw.pca <- function(sce, k = 100){
umi <- assay(sce, "umi")
@klprint
klprint / hum3d.html
Last active November 11, 2020 07:32
3dembs
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>body{background-color:white;}</style>
<script>(function() {
// If window.HTMLWidgets is already defined, then use it; otherwise create a
// new object. This allows preceding code to set options that affect the
// initialization process (though none currently exist).
window.HTMLWidgets = window.HTMLWidgets || {};
@klprint
klprint / app.R
Last active October 6, 2021 20:19
Bundestagswahl 2021 Wahlkreise: Ergebnisse und Strukturdaten
library(shiny)
library(tidyverse)
if(!require(plotly)){
install.packages("plotly")
}
if(!require(viridis)){
install.packages("viridis")
}