
Run PCA
runPCA.Region.Rd
Performs PCA and stores the results in a Representation.
Arguments
- region
A Region object
- data.slot
Which SpatialMap data slot to use as input.
- name
Choose the name of the resulting Representation.
- dims
The number of dims to return (the rank of the PCA)
- features
Select which features to use
- scale
Whether to scale variables to unit variance before analyzing (passed to
scale.
arg instats::prcomp
)