- seuList
a list consisting of Seurat objects, where each object is a SRT data batch. The default assay of each Seurat object will be used for data preprocessing and followed model fitting. The specified format about seuList argument can be referred to the details and example.
- project
An optional string, name of the project, default as "PRECAST".
- gene.number
an optional integer, the number of top spatially variable genes (SVGs) or highly variable genes (HVGs) to be chosen.
- selectGenesMethod
an optional integer, the method to select genes for each sample. It supports 'SPARK-X' and 'HVGs' to select genes now. Users can provide self-selected genes using customGenelist argument.
- numCores_sparkx
an optional integer, specify the number of CPU cores in SPARK package to use when selecting spatial genes.
- customGenelist
an optional string vector, the list of user specified genes to be used for PRECAST model fitting. If this argument is given, SVGs/HVGs will not be selected.
- premin.spots
An optional integer, the features (genes) are retained in raw data filtering step with at least premin.spots number of spots, default is 20.
- premin.features
An optional integer, the locations are retained in raw data filtering step with at least premin.features number of nonzero-count features (genes), default is 20.
- postmin.spots
An optional integer, the features (genes) are retained in filtering step after common genes selected among all data batches with at least postmin.spots number of spots, default is 15.
- postmin.features
An optional integer, the locations are retained in filtering step after common genes selected among all data batches with at least postmin.features number of nonzero-count features (genes), default is 15.
- rawData.preserve
An optional logical value, whether preserve the raw seuList data.
- verbose
whether display the message in the creating process.