Skip to content

Commit

Permalink
Merge pull request #52 from ImmuneDynamics/development
Browse files Browse the repository at this point in the history
Fixes to spatial analysis functions
  • Loading branch information
tomashhurst authored Jun 18, 2021
2 parents 63f08f8 + 692b4b8 commit c55cc05
Show file tree
Hide file tree
Showing 500 changed files with 242,596 additions and 30 deletions.
9 changes: 7 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
Package: Spectre
Type: Package
Title: A computational toolkit in R for the integration, exploration, and analysis of high-dimensional single-cell cytometry and imaging data.
Version: 0.5.0
Version: 0.5.1
Author: Thomas Ashhurst, Felix Marsh-Wakefield, Givanna Putri
Maintainer: Thomas Ashhurst <[email protected]>
Description: A computational toolkit in R for the integration, exploration, and analysis of high-dimensional single-cell cytometry data.
Description: A computational toolkit in R for the integration, exploration, and analysis of high-dimensional single-cell cytometry and imaging data.
Depends: R (>= 3.6.0)
License: MIT Licence
Encoding: UTF-8
LazyData: true
biocViews:
Imports:
devtools,
plyr,
Expand Down Expand Up @@ -46,7 +47,11 @@ Imports:
sf,
stars,
qs,
s2,
exactextractr
flowCore,
Biobase,
flowViz,
Suggests:
RoxygenNote: 7.1.1
Roxygen: list(markdown = TRUE)
Empty file modified NAMESPACE
100644 → 100755
Empty file.
Empty file modified R/do.add.masks.R
100644 → 100755
Empty file.
Empty file modified R/do.calculate.area.R
100644 → 100755
Empty file.
Empty file modified R/do.combine.cols.R
100644 → 100755
Empty file.
22 changes: 15 additions & 7 deletions R/do.create.outlines.R
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ do.create.outlines <- function(spatial.dat,

if(method == 'stars'){
message(paste0("Creating polygons, outlines, and centroids using 'stars' method."))
require(stars)
require(sf)
require(sp)
require(s2)
}

if(method == 'raster'){
Expand All @@ -53,13 +57,13 @@ do.create.outlines <- function(spatial.dat,

mask <- spatial.dat[[i]]$MASKS[[mask.name]]$maskraster

message(paste0("Processing masks for ROI ", i))
message(paste0(" -- Processing masks for ROI ", i))

## rasterToPolygons method
if(method == 'raster'){
polygon <- rasterToPolygons(mask, dissolve=TRUE) # This is the long step
spatial.dat[[i]]$MASKS[[mask.name]][["polygons"]] <- polygon
message("... polygons complete")
message(" ... polygons complete")
}

## stars method
Expand All @@ -68,16 +72,18 @@ do.create.outlines <- function(spatial.dat,
require(stars)
require(sf)
require(sp)
require(s2)

names(mask) <- "TEMP_MASK"

stars.mask <- stars::st_as_stars(mask)

sf::st_crs(stars.mask) <- 4326
#sf::st_crs(stars.mask) <- 4326

res <- sf::st_as_sf(stars.mask, # requires the sf, sp, raster and stars packages
as_points = FALSE,
merge = TRUE) #,

#na.rm = TRUE)
#group = TRUE) # TRUE crashes, FALSE does not

Expand All @@ -94,18 +100,20 @@ do.create.outlines <- function(spatial.dat,
crs(polygon) <- NA

spatial.dat[[i]]$MASKS[[mask.name]][["polygons"]] <- polygon
message("... polygons complete")
message(" ... polygons complete")
}

### Create outlines
outline <- fortify(polygon)
suppressMessages(
outline <- fortify(polygon)
)
spatial.dat[[i]]$MASKS[[mask.name]][["outlines"]] <- outline
message("... outlines complete")
message(" ... outlines complete")

### Create centroids
centroids <- gCentroid(polygon,byid=TRUE)
spatial.dat[[i]]$MASKS[[mask.name]][["centroids"]] <- centroids
message("... centroids complete")
message(" ... centroids complete")
}

message("Returning spatial data")
Expand Down
Empty file modified R/do.extract.R
100644 → 100755
Empty file.
Empty file modified R/do.pull.data.R
100644 → 100755
Empty file.
40 changes: 32 additions & 8 deletions R/make.colour.plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -364,17 +364,41 @@ make.colour.plot <- function(dat,

if(col.type == "continuous"){
p <- p + theme(panel.background = element_rect(fill = "white", colour = "black", size = 0.5), # change 'colour' to black for informative axis
axis.title.x=element_text(color="Black", face="bold", size=18),
axis.title.y=element_text(color="Black", face="bold", size=18),
plot.title = element_text(color="Black", face="bold", size=22, hjust=0) # size 70 for large, # 18 for small
axis.title.x=element_text(color="Black",
#face="bold",
size=28),

axis.title.y=element_text(color="Black",
#face="bold",
size=28),

# axis.ticks = element_line(size = 4),
# axis.line = element_line(size = 1),
axis.text.x = element_text(color="Black", size=24),
axis.text.y = element_text(color="Black", size=24),
panel.border = element_rect(colour = "black", fill = NA, size = 2),

plot.title = element_text(color="Black", face="bold", size=32, hjust=0) # size 70 for large, # 18 for small
)
}

if(col.type == "factor"){
p <- p + theme(panel.background = element_rect(fill = "white", colour = "black", size = 0.5),
axis.title.x=element_text(color="Black", face="bold", size=18),
axis.title.y=element_text(color="Black", face="bold", size=18),
plot.title = element_text(color="Black", face="bold", size=22, hjust=0) # size 70 for large, # 18 for small
axis.title.x=element_text(color="Black",
#face="bold",
size=28),

axis.title.y=element_text(color="Black",
#face="bold",
size=28),

# axis.ticks = element_line(size = 4),
# axis.line = element_line(size = 1),
axis.text.x = element_text(color="Black", size=24),
axis.text.y = element_text(color="Black", size=24),
panel.border = element_rect(colour = "black", fill = NA, size = 2),

plot.title = element_text(color="Black", face="bold", size=32, hjust=0) # size 70 for large, # 18 for small
)

#p <- p + theme(legend.position="bottom")
Expand All @@ -392,7 +416,7 @@ make.colour.plot <- function(dat,
legend.position=legend.loc,
#legend.key.height=unit(0.7,"cm"),
#legend.key.width=unit(0.7,"cm"),
legend.text=element_text(size=12), # large = 30 # small = 8
legend.text=element_text(size=18), # large = 30 # small = 8
legend.title=element_blank()
)
}
Expand All @@ -403,7 +427,7 @@ make.colour.plot <- function(dat,
legend.position=legend.loc,
#legend.key.height=unit(1,"cm"), # large = 3 # small = 1.2
#legend.key.width=unit(0.7,"cm"), # large = 1 # small = 0.4
legend.text=element_text(size=12), # large = 30 # small = 8
legend.text=element_text(size=18), # large = 30 # small = 8
legend.title=element_blank()
)
}
Expand Down
Empty file modified R/make.spatial.plot.R
100644 → 100755
Empty file.
27 changes: 21 additions & 6 deletions R/read.spatial.files.R
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,36 @@ read.spatial.files <- function(rois,
### Packages

require('raster')

### Checks

if(multi.tiff == TRUE){
if(length(grep(".tif", rois)) != length(rois)){
if(length(grep(ext, rois)) != length(rois)){
stop("It appears that your list of ROIs are not TIFF stack files, and might be directories full of single TIFFs (i.e. one TIFF per channel. If this is correct, please use 'multi.tiff = FALSE'")
}
}

setwd(roi.loc)
setwd(i)
tiffs <- list.files(pattern = ext)

# https://stackoverflow.com/questions/7963898/extracting-the-last-n-characters-from-a-string-in-r
substrRight <- function(x, n){
substr(x, nchar(x)-n+1, nchar(x))
}

if(ext != substrRight(tiffs[1],nchar(ext))){
message(paste0("Error: Your extension '", ext, "' does not match the extensions of your TIF or TIFF files"))
stop(paste0("Example file name: ", tiffs[1]), call. = FALSE)
}

rm(tiffs)

### Setup

# message("This is a developmental Spectre-spatial function that is still in testing phase with limited documentation. We recommend only using this function if you know what you are doing.")
setwd(roi.loc)
ROI.list <- list()
spatial.dat <- list()
setwd(roi.loc)

### Loop for ROIs -- one TIFF per ROI (i.e. tiff stack)

Expand Down Expand Up @@ -83,7 +98,7 @@ read.spatial.files <- function(rois,
setwd(roi.loc)
setwd(i)
tiffs <- list.files(pattern = ext)

## TIFF loop
active.roi <- list()

Expand Down
Empty file modified R/run.spatial.analysis.R
100644 → 100755
Empty file.
Empty file modified R/write.hdf5.R
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A computational toolkit in R for the integration, exploration, and analysis of h
<img src="https://raw.githubusercontent.com/tomashhurst/tomashhurst.github.io/master/images/Spectre.png">

### Current version
`v0.5.0`
`v0.5.1`

### About

Expand Down
Empty file modified image/Spectre.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified image/image
100644 → 100755
Empty file.
Empty file modified man/demo.spatial.Rd
100644 → 100755
Empty file.
Empty file modified man/do.add.masks.Rd
100644 → 100755
Empty file.
Empty file modified man/do.add.percell.Rd
100644 → 100755
Empty file.
Empty file modified man/do.aggregate.Rd
100644 → 100755
Empty file.
Empty file modified man/do.calculate.area.Rd
100644 → 100755
Empty file.
Empty file modified man/do.clip.Rd
100644 → 100755
Empty file.
Empty file modified man/do.combine.cols.Rd
100644 → 100755
Empty file.
Empty file modified man/do.create.outlines.Rd
100644 → 100755
Empty file.
Empty file modified man/do.extract.Rd
100644 → 100755
Empty file.
Empty file modified man/do.extract.cell.dat.Rd
100644 → 100755
Empty file.
Empty file modified man/do.filter.percell.Rd
100644 → 100755
Empty file.
Empty file modified man/do.label.from.polygon.Rd
100644 → 100755
Empty file.
Empty file modified man/do.pull.data.Rd
100644 → 100755
Empty file.
Empty file modified man/do.stats.Rd
100644 → 100755
Empty file.
Empty file modified man/make.spatial.plot.Rd
100644 → 100755
Empty file.
Empty file modified man/read.spatial.files.Rd
100644 → 100755
Empty file.
Empty file modified man/run.spatial.analysis.Rd
100644 → 100755
Empty file.
Empty file modified man/write.hdf5.Rd
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_Mock_01.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_Mock_02.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_Mock_03.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_Mock_04.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_Mock_05.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_Mock_06.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_WNV_D7_01.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_WNV_D7_02.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_WNV_D7_03.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_WNV_D7_04.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_WNV_D7_05.fcs
100644 → 100755
Empty file.
Empty file modified other/FCS files/CNS_WNV_D7_06.fcs
100644 → 100755
Empty file.
Empty file modified scripts/Plotting cytobank/CNS_Mock_01.fcs
100644 → 100755
Empty file.
Empty file modified scripts/Plotting cytobank/CNS_Mock_02.fcs
100644 → 100755
Empty file.
Empty file modified scripts/Plotting cytobank/CNS_Mock_03.fcs
100644 → 100755
Empty file.
Empty file modified scripts/Plotting cytobank/CNS_WNV_D7_01.fcs
100644 → 100755
Empty file.
Empty file modified scripts/Plotting cytobank/CNS_WNV_D7_02.fcs
100644 → 100755
Empty file.
Empty file modified scripts/Plotting cytobank/CNS_WNV_D7_03.fcs
100644 → 100755
Empty file.
Empty file modified scripts/Stats/sum.dat.csv
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/140Ce_Ce140.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/80ArAr_ArAr80.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CD11b_Sm149.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CD20_Dy161.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CD3_Er170.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CD45_Sm152.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CD4_Gd156.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CD68_Tb159.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CD8a_Dy162.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/CollagenI_Tm169.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/DNA1_Ir191.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/DNA3_Ir193.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/HistoneH3_Yb176.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/VIM_Nd143.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI002/alphaSMA_Pr141.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/140Ce_Ce140.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/80ArAr_ArAr80.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CD11b_Sm149.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CD20_Dy161.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CD3_Er170.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CD45_Sm152.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CD4_Gd156.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CD68_Tb159.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CD8a_Dy162.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/CollagenI_Tm169.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/DNA1_Ir191.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/DNA3_Ir193.tiff
100644 → 100755
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/HistoneH3_Yb176.tiff
100644 → 100755
Empty file.
Binary file removed segmentation/Ilastik multicut/ROIs/ROI004/ROI002.h5
Binary file not shown.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/VIM_Nd143.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI004/alphaSMA_Pr141.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/140Ce_Ce140.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/80ArAr_ArAr80.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CD11b_Sm149.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CD20_Dy161.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CD3_Er170.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CD45_Sm152.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CD4_Gd156.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CD68_Tb159.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CD8a_Dy162.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/CollagenI_Tm169.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/DNA1_Ir191.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/DNA3_Ir193.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/HistoneH3_Yb176.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/VIM_Nd143.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI006/alphaSMA_Pr141.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/140Ce_Ce140.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/80ArAr_ArAr80.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CD11b_Sm149.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CD20_Dy161.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CD3_Er170.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CD45_Sm152.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CD4_Gd156.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CD68_Tb159.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CD8a_Dy162.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/CollagenI_Tm169.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/DNA1_Ir191.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/DNA3_Ir193.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/HistoneH3_Yb176.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/VIM_Nd143.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI008/alphaSMA_Pr141.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/140Ce_Ce140.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/80ArAr_ArAr80.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CD11b_Sm149.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CD20_Dy161.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CD3_Er170.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CD45_Sm152.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CD4_Gd156.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CD68_Tb159.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CD8a_Dy162.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/CollagenI_Tm169.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/DNA1_Ir191.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/DNA3_Ir193.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/HistoneH3_Yb176.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/VIM_Nd143.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI010/alphaSMA_Pr141.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/140Ce_Ce140.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/80ArAr_ArAr80.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CD11b_Sm149.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CD20_Dy161.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CD3_Er170.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CD45_Sm152.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CD4_Gd156.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CD68_Tb159.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CD8a_Dy162.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/CollagenI_Tm169.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/DNA1_Ir191.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/DNA3_Ir193.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/HistoneH3_Yb176.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/VIM_Nd143.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/ROIs/ROI012/alphaSMA_Pr141.tiff
100644 → 100755
Empty file.
Empty file modified segmentation/Ilastik multicut/Segmentation - process TIFFs.R
100644 → 100755
Empty file.
14 changes: 14 additions & 0 deletions segmentation/Modified bodenmiller segmentation/1_panel/panel.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Metal Tag,Target,full,ilastik,ilastik_order
Pr141,Alpha_SMA,1,0,
Nd143,Vimentin,1,0,
Sm149,CD11b,1,1,1
Sm152,CD45,1,1,2
Gd156,CD45,1,1,3
Tb159,CD68,1,1,4
Dy161,CD20,1,1,5
Dy162,CD8a,1,1,6
Tm169,Collagen_I,1,0,
Er170,CD3,1,1,7
Yb176,HH3,1,1,8
Ir191,DNA-1,1,1,9
Ir193,DNA-2,1,1,10
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Metal Tag,Target,full,ilastik,order
Pd104,,1,,
In113,,1,,
In115,,1,,
Pr141,,1,,
Nd142,,1,,
Nd143,,1,,
Nd144,,1,,
Nd145,,1,,
Nd146,,1,,
Sm147,,1,,
Nd148,,1,,
Sm149,,1,,
Nd150,,1,,
Eu151,,1,,
Sm152,,1,,
Eu153,,1,,
Sm154,,1,,
Gd155,,1,,
Gd156,,1,,
Gd158,,1,,
Tb159,,1,,
Gd160,,1,,
Dy161,,1,,
Dy162,,1,,
Dy163,,1,,
Dy164,,1,,
Ho165,,1,,
Er166,,1,,
Er167,,1,,
Er168,,1,,
Tm169,,1,,
Er170,,1,,
Yb171,,1,,
Yb172,,1,,
Yb173,,1,,
Yb174,,1,,
Lu175,,1,,
Yb176,,1,,
Ir191,DNA1,1,,
Ir193,DNA2,1,,
Bi209,,1,,
Loading

0 comments on commit c55cc05

Please sign in to comment.