Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tomashhurst committed Nov 12, 2023
1 parent 9005f05 commit d0dd8d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions R/make.spatial.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,15 @@ make.spatial.plot <- function(dat, # spatial data object
if(!is.element('ggthemes', installed.packages()[,1])) stop('ggthemes is required but not installed')
if(!is.element('RColorBrewer', installed.packages()[,1])) stop('RColorBrewer is required but not installed')
if(!is.element('raster', installed.packages()[,1])) stop('raster is required but not installed')
if(!is.element('rgeos', installed.packages()[,1])) stop('rgeos is required but not installed')


### Require packages
require(ggplot2)
require(scales)
require(colorRamps)
require(ggthemes)
require(RColorBrewer)
require(raster)
require(rgeos)


### Compatability conversions

roi <- image.roi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
### Set InputDirectory (ROI TIFFs)

setwd(PrimaryDirectory)
setwd("data/ROIs/")
setwd("../data/ROIs/")
InputDirectory <- getwd()
InputDirectory

### Set MaskDirectory (ROI mask TIFFs)

setwd(PrimaryDirectory)
setwd("data/masks")
setwd("../data/masks")
MaskDirectory <- getwd()
MaskDirectory

Expand Down

0 comments on commit d0dd8d4

Please sign in to comment.