Chapter 1 Homepage

1.2 Adding to the book

Adding to the lab book is easy. The only requirement is that you make a Github account, which shouldn’t take more than a couple of minutes to do.

Note that since the book is re-built with each edit made, you may have to wait a few minutes before your changes become visible.

1.2.2 Option 2: Edit via the GitHub website

  1. Go to the chapter file that you would like to edit.
  2. Click on the edit icon.
  3. Make your edits and submit them by clicking the green Commit changes button.

1.2.3 Option 3: Edit using the git command line interface

Note: this will only work for those whose Github users have been added to the book repository.

  1. Go to your local clone of the repository.
    • to clone the repository: git clone https://github.com/tiroshlab/lab-book.git
  2. Make and save the relevant changes to the .Rmd file in question.
    • There is one .Rmd file per chapter.
  3. Submit the edit. In the terminal type:
    • git commit -am <myShortMessage>
    • git pull origin master
    • git push origin master

1.3 Book formats

The default book is a website. You can also choose to download the book as PDF or ebook. To do this, click the download icon at the top of the website page.