The easiest way to build the vignette for the moment is to launch R from main
directory of the ProfilesMetagene package. The R version should be R/R-3.1.1
From R:
library(packrat)
packrat::on()
knitr::knit2html("vignettes/get_profiles_metagene.Rmd")
The bam files must be downloaded from ENCODE:
wget -O inst/extdata/H3K4me1.bam https://www.encodeproject.org/files/ENCFF000ARY/@@download/ENCFF000ARY.bam
wget -O inst/extdata/H3K27ac.bam https://www.encodeproject.org/files/ENCFF000ASG/@@download/ENCFF000ASG.bam
They should also be indexed with samtools
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.