groupSigSpatialPatterns | R Documentation |
Identify primary spatial patterns using hierarchical clustering and dynamic tree cutting
groupSigSpatialPatterns( pos, mat, scc, hclustMethod = "complete", trim = 0, deepSplit = 0, minClusterSize = 0, power = 1, plot = TRUE, verbose = TRUE, ... )
pos |
Position matrix where each row is a cell, columns are x, y, (optionally z) coordinations |
mat |
Gene expression matrix. Must be normalized such that correlations will not be driven by technical artifacts |
scc |
Spatial cross-correlation matrix |
hclustMethod |
Linkage criteria for hclust() |
trim |
Winsorization trim |
deepSplit |
Tuning parameter for dynamic tree cutting cutreeDynamic() |
minClusterSize |
Smallest gene cluster size |
power |
Raise distance matrix to this power |
plot |
Whether to plot |
verbose |
Verbosity |
... |
Additional plotting parameters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.