SpaceX | R Documentation |
SpaceX function estimates shared and cluster specific gene co-expression networks for spatial transcriptomics data. Please make sure to provide both inputs as dataframe. More details about the SpaceX algorithm can be found in the reference paper.
SpaceX(
Gene_expression_mat,
Spatial_locations,
Cluster_annotations,
sPMM = FALSE,
Post_process = FALSE,
numCore = 1,
nrun = 10000,
burn = 5000
)
Gene_expression_mat |
Gene expression dataframe (N X G). |
Spatial_locations |
Spatial locations with coordinates. This should be provided as dataframe. |
Cluster_annotations |
Cluster annotations for each of the spatial location. |
sPMM |
If |
Post_process |
If |
numCore |
The number of cores for parallel computing (default = 1). |
nrun |
default = 10000 |
burn |
default = 5000 |
Posterior_samples |
Posterior samples |
Shared_network |
Shared co-expression matrix |
Cluster_network |
Cluster specific co-expression matrices |
Acharyya S., Zhou X., Baladandayuthapani V. (2021). SpaceX: Gene Co-expression Network Estimation for Spatial Transcriptomics.
Implementation details and examples can be found at this link https://bookdown.org/satwik91/SpaceX_supplementary/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.