qPLMClust | R Documentation |
qPLMClust
produces a hierarchical set of groups that
describe contiguous regions of a specimen with slow axis orientations that
are more similar to each other than they are to neighboring regions.
qPLMClust(
qPLM,
cortical = FALSE,
grainSize = 20,
cutoff = 20,
criterion = "theta",
thresHold = 0.8,
multi = TRUE
)
qPLM |
A |
cortical |
Set to |
grainSize |
Starting subsample dimensions in pixels. |
cutoff |
Minimum number of measured pixels present for a block to be
processed. If a |
criterion |
default is Other available criteria:
To specify which
descriptors to use, the user must create a list object named "customCrit"
that contains the descriptor numbers as listed above. |
thresHold |
|
multi |
For troubleshooting. Estimating the angular central Gaussian
distribution in parallel using |
qPLMClust
uses iterative agglomerative clustering (Lance &
Williams 1966; 1967) based on Euclidean distances between parameters of the
angular central Gaussian distribution (Tyler 1987), constrained by spatial
neighborhood (Legendre & Legendre 2012:839 - 844).
This function provides an automated means of selecting areas of tissue that have a distinct "fabric" (e.g., mid-cortical vs. endosteal bone in long bone cross-section). It was specifically written to avoid the multiple arbitrary judgement calls that must be made when trying to sub-sample a bone cross-section using several small ROIs to stand in for a "class" of tissue.
The comparison is blind to the biological significance of orientation differences–it is up to the user to select an appropriate hierarchical level of comparison.
Returns a qPLMclust object, which is a list with four components:
$qPLMtab: the pixel-by-pixel orientation data in
qPLMtab
format.
$GaussRaster: a RasterBrick
representation of the angular central Gaussian distribution parameters per
block.
$groupMatrix: a matrix with rows that represent processed pixel blocks, and columns that represent successively more inclusive agglomerative spatial clusters. The cells in each column give the group membership for each block at that level, and the contents of the bottom cell in each column give the similarity value for that agglomerative step.
$groupRaster: a RasterBrick
representation of the clusters
that merge at lower similarity values than the value specified by the
thresHold
variable. pullCluster
calls on this component to
let the user page through the high-level clusters and select a level that
reflects their specific biological question (e.g., clusters that separate
an area of tendon insertion relative to surrounding periosteal bone).
Lance, G.N., and Williams, W.T., 1966. A generalized sorting strategy for computer classifications. Nature 212:218.
Lance, G.N., and Williams, W.T., 1967. A general theory of classificatory sorting strategies. I. Hierachical systems. Computer J 9:373 - 380.
Legendre, P., and Legendre, L., 2012. Numerical Ecology. Elsevier.
Tyler, D.E., 1987. Statistical analysis for the angular central Gaussian distribution on the sphere. Biometrika, 74(3): 579 - 589.
Other qPLM Analysis Functions:
angGaussSumm()
,
centroidCorr()
,
pullCluster()
,
pullROI()
,
pullqPLMSample()
,
qPLMTabulate()
#oldwd<-getwd()
#setwd(system.file("extdata", package = "microTransit"))
#load("testqPLMarr.R")
#load("testqPLMtab.R")
#setwd(oldwd)
testqPLMclust_arr<-qPLMClust(testqPLMarr)
testqPLMclust_tab<-qPLMClust(testqPLMtab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.