diff --git a/DESCRIPTION b/DESCRIPTION index 95569d5..1e9fd45 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: imcRtools -Version: 1.7.7 +Version: 1.7.8 Title: Methods for imaging mass cytometry data analysis Description: This R package supports the handling and analysis of imaging mass cytometry diff --git a/NEWS b/NEWS index 598c70e..7c314c0 100644 --- a/NEWS +++ b/NEWS @@ -209,3 +209,7 @@ Changes in version 1.7.7 (2023-10-02) + Bug fix: in rare cases the testInteractions p-values were not correctly computed due to machine precision issues +Changes in version 1.7.8 (2023-10-19) + ++ spatialCoords are not initialised with rownames anymore + diff --git a/R/utils.R b/R/utils.R index a01aca8..72f0dd6 100644 --- a/R/utils.R +++ b/R/utils.R @@ -70,7 +70,7 @@ spatialCoords(y) <- matrix(c(cur_props[[coords[1]]], cur_props[[coords[2]]]), ncol = 2, byrow = FALSE, - dimnames = list(as.character(y$ObjectNumber), + dimnames = list(NULL, c("Pos_X", "Pos_Y"))) colData(y) <- cbind(colData(y), cur_props[,!colnames(cur_props) %in% @@ -257,7 +257,7 @@ cur_counts[[extract_coords_from[1]]], cur_counts[[extract_coords_from[2]]]), ncol = 2, byrow = FALSE, - dimnames = list(as.character(object$ObjectNumber), + dimnames = list(NULL, c("Pos_X", "Pos_Y"))) }