PRECAST: installation

Install the PRECAST

This vignette provides an introduction to the R package PRECAST, where the function PRECAST implements the model PRECAST, a PRobabilistic Embedding and Clustering with alignment for Spatial Transcriptomics data integration . The package can be installed with the following command from Github:

install.packages('remotes') remotes::install_github("feiyoung/PRECAST")

or install from CRAN

install.packages("PRECAST")

The package can be loaded with the command:


library("PRECAST")
#> Loading required package: parallel
#> Loading required package: gtools

Setup on Linux or MacOS system

For running big data, users can use the following system command to set the C_stack unlimited in case of R Error: C stack usage is too close to the limit.

ulimit -s unlimited