# A Tool for Spatial Multi-sample Comparisons

## Documentation for package ‘spatialFDA’ version 1.2.1

- 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
coef.functionalGam | Coef for functionalGam object
crossSpatialInference | Function for Cross Spatial Inference
extractCrossInferenceData | Reshaping the Result of a Cross Spatial Inference to a Dataframe
functionalGam | General additive model with functional response
functionalPCA | Functional Principal Component Analysis
plotCrossFOV | Creates a nXn plot of the cross metrics per sample
plotCrossHeatmap | Plotting the Result of a Cross Spatial Inference
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
rMaxHeuristic | Heuristic for the choice of rMax
spatialInference | Statistical Inference on Spatial Statistics Functions
summary.functionalGam | Summary for functionalGam object