BodenmillerGroup / imcRtools

An R package for handling and analysing imaging mass cytometry data
https://bodenmillergroup.github.io/imcRtools/
20 stars 9 forks source link

Spatial context functions #78

Closed lassedochreden closed 2 years ago

lassedochreden commented 2 years ago

Hi @nilseling,

as discussed: here is the first final version for following three spatial context (SC) functions:

  1. detectSpatialContext : for the function to detect SCs
  2. filterSpatialContext : for the function to filter SCs
  3. plotSpatialContext : for the function to plot SC graphs

Happy to get more feedback! Thanks for the support 👍

codecov-commenter commented 2 years ago

Codecov Report

Merging #78 (b24afde) into master (d65ed28) will decrease coverage by 0.87%. The diff coverage is 92.68%.

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
- Coverage   99.72%   98.84%   -0.88%     
==========================================
  Files          17       20       +3     
  Lines        1439     1644     +205     
==========================================
+ Hits         1435     1625     +190     
- Misses          4       19      +15     
Impacted Files Coverage Δ
R/validityChecks.R 98.03% <86.07%> (-1.97%) :arrow_down:
R/utils.R 99.16% <93.93%> (-0.65%) :arrow_down:
R/detectSpatialContext.R 100.00% <100.00%> (ø)
R/filterSpatialContext.R 100.00% <100.00%> (ø)
R/plotSpatialContext.R 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d65ed28...b24afde. Read the comment docs.