Skip to content

Commit

Permalink
fixed detectCommunity function
Browse files Browse the repository at this point in the history
  • Loading branch information
SchulzDan committed Oct 25, 2024
1 parent 3270d3a commit b9e7e33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: imcRtools
Version: 1.11.2
Version: 1.11.3
Title: Methods for imaging mass cytometry data analysis
Description:
This R package supports the handling and analysis of imaging mass cytometry
Expand Down
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,7 @@ Changes in version 1.11.1 (2024-10-03)
Changes in version 1.11.2 (2024-10-08)

+ fixed testInteraction and countInteraction tests due to machine precision issues

Changes in version 1.11.3 (2024-10-25)

+ fixed testdetectCommunity function
4 changes: 2 additions & 2 deletions tests/testthat/test_detectCommunity.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ test_that("detectCommunity function works", {
))
expect_false(identical(cur_sce_4$spatial_community, cur_sce$spatial_community))
expect_equal(cur_sce_4$spatial_community[1:10],c(E34_824 = "celltype_C_1", E34_835 = "celltype_C_2", E34_839 = "celltype_C_1",
E34_844 = "celltype_C_1", E34_847 = "celltype_C_2", E34_853 = "celltype_C_2",
E34_859 = "celltype_C_1", E34_864 = "celltype_C_1", E34_865 = "celltype_C_2",
E34_844 = "celltype_C_1", E34_847 = "celltype_C_2", E34_853 = "celltype_C_1",
E34_859 = "celltype_C_1", E34_864 = "celltype_C_1", E34_865 = "celltype_C_1",
E34_872 = "celltype_C_1"))


Expand Down

0 comments on commit b9e7e33

Please sign in to comment.