Skip to content

Commit fd4b913

Browse files
Merge pull request #90 from BodenmillerGroup/fix_build_319
Fix_Bioc_3.19_release
2 parents 7ba413f + 413f507 commit fd4b913

File tree

5 files changed

+24
-18
lines changed

5 files changed

+24
-18
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: cytomapper
2-
Version: 1.15.2
2+
Version: 1.15.3
33
Title: Visualization of highly multiplexed imaging data in R
44
Description:
55
Highly multiplexed imaging acquires the single-cell expression of
@@ -67,5 +67,5 @@ biocViews: ImmunoOncology, Software, SingleCell, OneChannel, TwoChannel, Multipl
6767
VignetteBuilder: knitr
6868
URL: https://github.com/BodenmillerGroup/cytomapper
6969
BugReports: https://github.com/BodenmillerGroup/cytomapper/issues
70-
RoxygenNote: 7.2.3
70+
RoxygenNote: 7.3.1
7171
Encoding: UTF-8

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,6 @@ Changes in version 1.15.1 (2023-12-10):
192192

193193
Changes in version 1.15.2 (2023-12-13):
194194
+ change of package maintenance to Lasse Meyer
195+
196+
Changes in version 1.15.3 (2024-03-13):
197+
+ measureObject fixes for Bioc 3.19 release

R/measureObjects.R

+9-9
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@
7878
#' haralick (\code{h.}) features. Default features are the following:
7979
#'
8080
#' \itemize{
81-
#' \item{s.area}{object size in pixels}
82-
#' \item{s.radius.mean}{mean object radius in pixels}
83-
#' \item{m.cx}{x centroid position of object}
84-
#' \item{m.cy}{y centroid position of object}
85-
#' \item{m.majoraxis}{major axis length in pixels of elliptical fit}
86-
#' \item{m.eccentricity}{elliptical eccentricity. 1 meaning straight line and 0
87-
#' meaning circle.}
81+
#' \item s.area - object size in pixels
82+
#' \item s.radius.mean - mean object radius in pixels
83+
#' \item m.cx - x centroid position of object
84+
#' \item m.cy - y centroid position of object
85+
#' \item m.majoraxis - major axis length in pixels of elliptical fit
86+
#' \item m.eccentricity - elliptical eccentricity. 1 meaning straight line and 0
87+
#' meaning circle.
8888
#' }
8989
#'
9090
#' @section Computing quantiles:
@@ -254,8 +254,8 @@ measureObjects <- function(mask,
254254
cur_colData <- colData(object)
255255
cur_df <- cbind(mcols(image), mcols(mask))
256256
cur_df <- cur_df[,unique(names(cur_df)), drop=FALSE]
257-
cur_colData <- merge(as.data.frame(cur_colData),
258-
as.data.frame(cur_df),
257+
cur_colData <- merge(as.data.frame(as.matrix(cur_colData)),
258+
as.data.frame(as.matrix(cur_df)),
259259
by = img_id, sort = FALSE)
260260
colData(object) <- as(cur_colData, "DataFrame")
261261

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ Nils Eling, Nicolas Damond, Tobias Hoch, Bernd Bodenmiller (2020). cytomapper: a
143143

144144
[Tobias Hoch](https://github.com/toobiwankenobi)
145145

146+
## Maintainer
147+
148+
[Lasse Meyer](https://github.com/lassedochreden)
146149

147150
## References
148151

man/measureObjects.Rd

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)