diff --git a/vignettes/TET2.Rmd b/vignettes/TET2.Rmd index a79f410..2423f9f 100644 --- a/vignettes/TET2.Rmd +++ b/vignettes/TET2.Rmd @@ -11,14 +11,19 @@ vignette: > \usepackage[utf8]{inputenc} --- + ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) knitr::opts_chunk$set(collapse = TRUE, comment = "#>") -library(devtools) -load_all("./") +library(devtools) #install the package first - install.packages("devtools") +load_all("./") ``` +# load_all function does not work without the 'limma' package as well as GEOquery. Install packages before proceeding: +BiocManager::install("limma") +BiocManager::install("GEOquery") +Then proceed with the chunk above -# Installation +# Installation - install the packages first (including knitr and devtools) Install the WorldsSimplestCodeReview package, if you haven't. @@ -26,7 +31,7 @@ Install the WorldsSimplestCodeReview package, if you haven't. #install.packages("remotes") #install.packages("BiocManager") #BiocManager::install("VanAndelInstitute/WorldsSimplestCodeReview") -library(knitr) +library(knitr) "install the package first - install.packages("knitr") ``` To extract just the R code, you can use knitr::knit(input, tangle=TRUE): @@ -82,7 +87,8 @@ dim(DNAme) ``` -### Some contrasts +### Some contrasts - #install the package ComplexHeatmap before proceeding: +BiocManager::install("ComplexHeatmap") Is it the case that TET2, IDH1, and IDH2 mutations are exclusive? @@ -96,6 +102,7 @@ Heatmap(mutations, col=c("lightgray","darkred"), name="mutant", column_km=4, ``` + Do we see genome-wide hypermethylation from TET2 mutations? ```{r, TET2_vs_IDH}