View source: R/SpatialStructure.R
SpatialStructureDetection | R Documentation |
Detect spatial structures in the tissue using global and local Morans' I.
SpatialStructureDetection(
object,
feature,
slice = "slice1",
global.Moran.I = 0.5,
p.adjust.method = "fdr",
p.thres.local = 0.05,
p.adj.thres.local = 0.05,
p.thres.z.score = 0.05,
median.filter = TRUE,
z.score.filter = TRUE
)
object |
A Seurat object after stStatistics |
feature |
The features (genes) of the spatial structure |
slice |
Slice |
global.Moran.I |
The threshold for global Morans' I. If the calculated global Morans' I is less than 'global.Moran.I', it is considered that no corresponding spatial structure exists in the tissue |
p.adjust.method |
The method used to adjust p values |
p.thres.local |
The threshold for p values of local Morans' I |
p.adj.thres.local |
The threshold for adjusted p values of local Morans' I |
p.thres.z.score |
The threshold for z scores of local Morans' I |
median.filter |
Whether to filter the results using the median of feature scores |
z.score.filter |
Whether to filter the results based on z-scores |
crop |
A logical value indicating whether to crop the image during plotting |
CNV.ref.object |
A reference seurat object used in inferCNV |
authorName |
A character string for authors name and will be shown in the report. |
genReport |
A logical value indicating whether to generate a .html/.md report (suggest to set TRUE). |
A Seuratobject with results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.