Skip to content

mxfda

A Functional Data Analysis Package for Spatial Single Cell Data

v0.2.2-1 · Feb 19, 2025 · MIT + file LICENSE

Description

Methods and tools for deriving spatial summary functions from single-cell imaging data and performing functional data analyses. Functions can be applied to other single-cell technologies such as spatial transcriptomics. Functional regression and functional principal component analysis methods are in the 'refund' package <https://cran.r-project.org/package=refund> while calculation of the spatial summary functions are from the 'spatstat' package <https://spatstat.org/>.

Downloads

CRAN

302

Last 30 days

15394th

681

Last 90 days

3.4K

Last year

Trend: +88.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

35

Last 90 days

151

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

4

Last 7 days

24

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available: 'refund', 'SpatEntropy'

Packages suggested but not available for checking:
  'tidyverse', 'ggpubr', 'spatialTIME', 'refund.shiny', 'Seurat'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

6,494

Files

124

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,049 (47%)Tests 444 (6.8%)Docs 1,787 (27.5%)Vignettes 1,214 (18.7%)

API

Exported functions

35

Internal functions

8

Recent export changes

v0.2.2+2 can_permute, extract_entropy
v0.2.1+33 %>%, Gcross, Gest +30 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.15

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

97.1%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

6.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2024-05-08

Latest release

2025-02-19

Avg cadence

144 days

Cold removal rate

Dep drift

0

LOC over versions

v0.2.1: 5,815 LOCv0.2.2: 6,479 LOCv0.2.2-1: 6,494 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies magrittr rlang tidyr purrr dplyr ggplot2 lifecycle refund reshape2 mgcv spatstat.geom spatstat.explore SpatEntropy SimDesign mxfda

Version History

4 tracked
new 0.2.2-1 Mar 10, 2026
updated 0.2.2-1 ← 0.2.2 diff Feb 18, 2025
updated 0.2.2 ← 0.2.1 diff Oct 6, 2024
new 0.2.1 May 7, 2024