Description Usage Arguments Details Value Examples
This function converts input temperatures in Fahrenheit to Celsius.
1 | calc_bsc(feature1, feature2, sdata, conn_mat, assay = "SCT")
|
feature1 |
a gene symbol as in Seurat object |
feature2 |
another gene symbol as in Seurat object |
sdata |
Seurat formatted spatial 10X scRNA expression data |
conn_mat |
connectivity matrix (conn_mat) from make_conn_mat |
assay |
default to 'SCT' but can be 'Spatial' (raw) or 'SCT' |
Returns a list of bivariate spatial correlation statistics according to Lee S. J Geograph Syst (2001) 3:369-385.
A list containing $r (Pearson's r), $r_sm (spatially smoothened r), $L_XX (clustering factor of feature1), $L_YY (clustering factor of feature2), $L_XY (L_X,Y bivariate spatial correlation from)
1 | # Refer to https://github.com/soymintc/scBSC
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.