This file contains 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
--- | |
title: "Seurat PBMC 3k tutorial using TENxPBMCData" | |
author: "Kevin Rue-Albrecht" | |
date: "27/11/2018" | |
output: html_document | |
editor_options: | |
chunk_output_type: console | |
--- | |
```{r setup, include=FALSE} |
This file contains 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
# Adapted from https://satijalab.org/seurat/pbmc3k_tutorial.html on 2018-11-24 | |
timestamp() | |
message("Started") | |
library(BiocFileCache) | |
library(Seurat) | |
library(dplyr) |
This file contains 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
--- | |
title: "Proportion of cells matching signatures" | |
author: "Kevin Rue-Albrecht" | |
date: "25/11/2018" | |
output: html_document | |
editor_options: | |
chunk_output_type: console | |
--- | |
```{r setup, include=FALSE} |
This file contains 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
# The following command: | |
# - Parses (recursively) all files within the "R/" folder (Change as relevant). | |
# - Identifies all lines that include the statements "require(" or "library(". | |
# - Trims everything before and including "require(" or "library(", and everything after the next ")", leaving only the package name. | |
# - Identifies the unique list of packages loaded in those ways. | |
grep -Rn '.*\(require\|library\)(.*' R/* | sed 's/.*\(require\|library\)(\(.*\)).*/\2/g' | sort | uniq |
This file contains 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
# Introduction ----- | |
timestamp() | |
message("Started") | |
# Packages ---- | |
stopifnot(suppressPackageStartupMessages({ | |
require(optparse) |
NewerOlder