View source: R/normalize_spatial.R
normalize_spatial | R Documentation |
Normalize spatial coordinates
normalize_spatial(
data,
sample_col = "Sample",
x_col = "pxl_row_in_fullres",
y_col = "pxl_col_in_fullres",
min_value = 1,
max_value = 10000
)
data |
A data frame containing spatial coordinates |
sample_col |
Column name specifying sample IDs |
x_col |
Column name for x-coordinates |
y_col |
Column name for y-coordinates |
min_value |
Minimum value for normalization range |
max_value |
Maximum value for normalization range |
A data frame with normalized coordinates
tissue_posi_normalized<-normalize_spatial(tissue_posi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.