This website is hosted at: https://sib-swiss.github.io/seq-spatial-transcriptomics-training
Please refer to issues for improvements/bugs for course material or the website.
Any contribution to this course material is highly appreciated 👍. Please have a look at the CONTRIBUTING.md file to learn more on how to contribute.
- Deepak Tanwar ORCiD
- Joana Carlevaro-Fita ORCiD
- Geert van Geest ORCiD
- Julien Roux ORCiD
- Martin Emons ORCiD
- Peiying Cai ORCiD
- Ivan Berest ORCiD
- Mark Robinson ORCiD
This website is generated with quarto. To contribute or run the material locally, you will need to have R and Quarto CLI installed.
-
Clone the repository:
git clone https://github.com/sib-swiss/seq-spatial-transcriptomics-training.git cd seq-spatial-transcriptomics-training -
Install R packages: This project uses
renvto manage R dependencies. To install the required packages, open R and run:install.packages("renv") renv::restore()
-
Render the site: To build the website, run the following command in the terminal:
quarto render
This will generate the website in the
_sitedirectory. -
Preview the site: To preview the website as you make changes, you can use:
quarto preview
To publish the website to GitHub Pages, use the following command:
quarto publish gh-pagesThis will render the site and push the _site directory to the gh-pages branch. Make sure you have the necessary permissions to push to the repository.
For a reproducible environment, you can use the provided Docker setup. A pre-built Docker image is available on Docker Hub.
-
Pull the Docker image:
docker pull sibswiss/training-seq-spatial-transcriptomics-rstudio:latest
-
Run the Docker container: Navigate to the
Dockerdirectory and use the provided script to run the container:cd Docker ./run_locally.shAlternatively, you can run the container manually from the project root directory:
docker run --rm -p 8787:8787 -v $PWD:/home/rstudio sibswiss/training-seq-spatial-transcriptomics-rstudio:latestThis will start an RStudio server on http://localhost:8787. The
-v $PWD:/home/rstudiocommand mounts the current directory into the container, so you can edit the files locally and see the changes reflected in the container.