# A Tool for Spatial Multi-sample Comparisons

## Documentation for package ‘spatialFDA’ version 1.0.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

.dfToppp | Convert SpatialExperiment object to ppp object
.extractMetric | Compute a spatial metric on a SpatialExperiment object
.loadExample | load Example dataset from Damond et al. (2019)
.speToDf | Transform a SpatialExperiment into a dataframe
calcCrossMetricPerFov | Calculate cross spatial metrics for all combinations per FOV
calcMetricPerFov | Calculate a spatial metric on a 'SpatialExperiment' object per field of view
functionalGam | General additive model with functional response
functionalPCA | Functional Principal Component Analysis
plotCrossFOV | Creates a nXn plot of the cross metrics per sample
plotCrossMetricPerFov | Plot a cross type spatial metric per field of view
plotFbPlot | Functional boxplot of spatstat curves
plotFpca | Plot a biplot from an fPCA analysis
plotMdl | Plot a pffr model object
plotMetricPerFov | Plot a spatial metric per field of view
prepData | Prepare data from calcMetricRes to be in the right format for FDA
print.fpca | print the fPCA results