forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFindSpatiallyVariableFeatures.Rd
92 lines (77 loc) · 2.39 KB
/
FindSpatiallyVariableFeatures.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generics.R, R/preprocessing.R
\name{FindSpatiallyVariableFeatures}
\alias{FindSpatiallyVariableFeatures}
\alias{FindSpatiallyVariableFeatures.default}
\alias{FindSpatiallyVariableFeatures.Assay}
\alias{FindSpatiallyVariableFeatures.Seurat}
\title{Find spatially variable features}
\usage{
FindSpatiallyVariableFeatures(object, ...)
\method{FindSpatiallyVariableFeatures}{default}(
object,
spatial.location,
selection.method = c("markvariogram", "moransi"),
r.metric = 5,
x.cuts = NULL,
y.cuts = NULL,
verbose = TRUE,
...
)
\method{FindSpatiallyVariableFeatures}{Assay}(
object,
slot = "scale.data",
spatial.location,
selection.method = c("markvariogram", "moransi"),
features = NULL,
r.metric = 5,
x.cuts = NULL,
y.cuts = NULL,
nfeatures = nfeatures,
verbose = TRUE,
...
)
\method{FindSpatiallyVariableFeatures}{Seurat}(
object,
assay = NULL,
slot = "scale.data",
features = NULL,
image = NULL,
selection.method = c("markvariogram", "moransi"),
r.metric = 5,
x.cuts = NULL,
y.cuts = NULL,
nfeatures = 2000,
verbose = TRUE,
...
)
}
\arguments{
\item{object}{A Seurat object, assay, or expression matrix}
\item{...}{Arguments passed to other methods}
\item{spatial.location}{Coordinates for each cell/spot/bead}
\item{selection.method}{Method for selecting spatially variable features.
\itemize{
\item \code{markvariogram}: See \code{\link{RunMarkVario}} for details
\item \code{moransi}: See \code{\link{RunMoransI}} for details.
}}
\item{r.metric}{r value at which to report the "trans" value of the mark
variogram}
\item{x.cuts}{Number of divisions to make in the x direction, helps define
the grid over which binning is performed}
\item{y.cuts}{Number of divisions to make in the y direction, helps define
the grid over which binning is performed}
\item{verbose}{Print messages and progress}
\item{slot}{Slot in the Assay to pull data from}
\item{features}{If provided, only compute on given features. Otherwise,
compute for all features.}
\item{nfeatures}{Number of features to mark as the top spatially variable.}
\item{assay}{Assay to pull the features (marks) from}
\item{image}{Name of image to pull the coordinates from}
}
\description{
Identify features whose variability in expression can be explained to some
degree by spatial location.
}
\concept{preprocessing}
\concept{spatial}