Skip to content

Segmentation Tutorial Part 1

vrrenske edited this page Oct 24, 2019 · 4 revisions

Before getting Started

  1. Start R & load BactMAP. Find installation & loading instructions for BactMAP here.
  2. Get the tutorial files on your computer. Download the tutorial datasets here. Unzip and save the files on your computer.

Check the documentation of the Staphylococcus aureus subset here and the Streptococcus pneumoniae subset here.

  1. Now set your working directory to the folder where you saved the tutorial files.

There are multiple ways to set your working directory: using the terminal, by prompting a GUI, or within Rstudio:

setwd("type_the_correct_path_here")
#or
setwd(choose.dir()) #directory picker GUI, doesn't work in MAC!
#or

Setting the working directory in Rstudio


⬅️ Comparing Segmentation: Overview Segmentation Tutorial part 2: Data Import ➡️
Clone this wiki locally