getSasDf | R Documentation |
Extracts a data.frame of inferred gradients of numeric variables as a function of distance to spatial annotations.
getSasDf(
object,
ids,
distance = "dte",
resolution = recSgsRes(object),
core = FALSE,
angle_span = c(0, 360),
n_bins_angle = 1,
variables = NULL,
unit = getDefaultUnit(object),
ro = c(0, 1),
format = "wide",
bcs_exclude = character(0),
outlier_rm = FALSE,
verbose = FALSE,
...
)
object |
An object of class |
ids |
Character vector. Specifies the IDs of the spatial annotations of interest. |
distance |
|
resolution |
Distance measure. The resolution
with which the expression gradient is inferred. Defaults are platform specific.
See more in detail section of |
angle_span |
Numeric vector of length 2. Confines the area screened by an angle span relative to the center of its closest spatial annotation. |
variables |
Character vector. The numeric variables to be included in the screening process. Makre sure that the correct matrix is active in the respective assays. |
unit |
Character value. Specifies the desired unit in
which distance measures
or area measures are provided.
Run |
ro |
The numeric range to which the output gradients is scaled. Defaults to c(0,1). |
bcs_exclude |
Character value containing the barcodes of observations to be excluded from the analysis. |
outlier_rm |
Deprecated. |
verbose |
Logical. If (Warning messages will always be printed.) |
... |
Used to absorb deprecated arguments or functions. |
Data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.