Skip to content

Commit 5584002

Browse files
fix test error measureObjects
1 parent 7ba413f commit 5584002

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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

R/measureObjects.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)