Skip to content

Commit

Permalink
Fix plotting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Russel88 committed Dec 13, 2022
1 parent fb65148 commit aa526e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RCon3D
Title: Analysis of Confocal Images of Microbial Biofilms
Version: 1.2.6
Version: 1.2.7
Authors@R: person("Jakob", "Russel", email = "russel2620@gmail.com", role = c("aut", "cre"))
Description: Various 3D analyses of confocal images. E.g. Quantification, co-aggregation and identifying 3D aggregates.
Depends: R (>= 3.2.5)
Expand Down
2 changes: 1 addition & 1 deletion R/clumps_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ clumps_plot <- function(clumps.out, replica = 1, col = "agg", pwidth = NULL, zst
M <- M[!is.na(M$value),]

# Remove by threshold
subsize <- clumps.out[[1]][clumps.out[[1]]$Img == unique(clumps.out[[1]]$Img)[1],]
subsize <- clumps.out[[1]][clumps.out[[1]]$Img == unique(clumps.out[[1]]$Img)[replica],]
if(thresh.m){
if("Size.micron" %in% colnames(subsize)){
rem <- as.character(subsize[subsize$Size.micron < thresh,"ID"])
Expand Down

0 comments on commit aa526e6

Please sign in to comment.